Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#217 2005-01-18 16:56:38
Re: Plugin/Hack: Albumpattern
Hello.
Really nice plugin and for most parts, it runs good now.
I have one error tho, a crucial one :)
When i try to make new album and upload photos to it i get this error:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10560 is not allowed to access /usr/local/psa/home/vhosts/druzli.com/httpdocs/images/6 owned by uid 2525 in /usr/local/psa/home/vhosts/druzli.com/httpdocs/textpattern/include/txp_album.php on line 421
The folder is created on my server chmodded to 755 – if i try to change it, it gives me the error Could not change permission – error 142 (Transmit)
Now if i delete this folder and create another one with same name and put 777 on him, everything workes as supossed to. (In Transmit)
Any answers ?
Thanks in advance
Last edited by druzli (2005-01-18 17:48:33)
regards,
Agust
Offline
#218 2005-01-18 18:18:59
Re: Plugin/Hack: Albumpattern
druzli, I will post an updated version soon. When I create the folders, I never changed the permissions on them as well.
Offline
#219 2005-01-19 09:42:20
Re: Plugin/Hack: Albumpattern
Looking forward to new version
Thanks
regards,
Agust
Offline
#220 2005-01-19 09:49:18
- lithiumdave
- Member
- From: UK
- Registered: 2004-09-14
- Posts: 10
Re: Plugin/Hack: Albumpattern
Can anyone help me with the page number/navigation problems I posted about a while ago in this thread? Please?!! : )
Many thanks in advance.
Offline
#221 2005-01-20 16:24:07
Re: Plugin/Hack: Albumpattern
> homm2 wrote:
> vibe9,
it seems like something is wrong with your folders. /photogallery should point to a list of galleries (rather than a gallery itself). Every gallery should be in its own folder under /images/ and photos should simply files within those folders. I’m not sure how you would fix it other than to reinstall.
Delete all images (all images used in your galleries) and galleries from within textpattern. Then go into your database and delete the album table, as well as any entries under the section ‘photogallery’ within the ‘textpattern’ table (if there still are any). Go into your /images/ folder and make sure you don’t still have any images or folders left (other than static images that you use for the rest of the site). Then upload albumpattern_install.php (or albumpattern_sql.php if you’re still on TR3), edit the 2 config strings at the beginning of the file, run it and make sure you’re not getting any php error messages.
——————————————————————————————
I am veryu new to TXP, so this may be somethig simple, but I haven’t been able to stumble on it.
I am having a similar problem to the one described above in that when i go to /domain.name/photo/ the http generated shows the “Albumpattern loaded” message and the breadcrumbs line shows “Photo>“but none of the conditonal stuff.
I erased all images and deleted the table in the databae. I have a section “photo” which I put in the install file and one category (whis is my album album) entitled “1”. The images are in the images directory under the 1 subdirectory, the image info is in the txp_album table and the list page under Albumpattern shows one element with the correct thumbnail picture.
I seems like the connection between the URL for photo and the conditionals is not being made??
========================================
I took your advice and delete the DB, reran the TXP setup and albumpattern config and everything works. Thanks.
Last edited by dmcdonald (2005-01-21 03:55:37)
Dave McDonald
Offline
#222 2005-01-20 16:40:06
Re: Plugin/Hack: Albumpattern
I tried again on another site, reinstalling textpattern and album pattern and it all works fine now. Can’t tell you why, but it does!
So my recommendation to anyone out there having these issues is reinstalling everything (if possible), including your database.
Thanks homm2!
Last edited by vibe9 (2005-01-20 16:43:47)
Once in a while you can get shown the light, in the strangest of places if you look at it right.
-Grateful Dead
Offline
#223 2005-01-21 21:40:12
Re: Plugin/Hack: Albumpattern
Can anyone tell me how to enable AlbumPattern for users given “Freelancer” status? Or is this not an option?
Thanks.
Last edited by vibe9 (2005-01-21 21:40:30)
Once in a while you can get shown the light, in the strangest of places if you look at it right.
-Grateful Dead
Offline
#224 2005-01-21 21:46:20
Re: Plugin/Hack: Albumpattern
Suggestion… Instead of reinventing the wheel, could someone with the necessary expertise and inclination, work on adding Flickr support to TXP? Flickr provides an API to developers for such things. It would be great to use just one web application for managing photos and then we could just pump in our Flickr sets and images to our blogs… what do you think? Most of the other blogging apps already have plugins to let users do this. I have nothing against AlbumPattern, but it would just be easier the way I have mentioned. Flickr already has the software in place to manage photo collections, tags, etc. One of the main reasons for me using Flickr over the alternatives is that as an iPhoto user, I can manage all of my photos inside iPhoto and then upload select images in one shot (including titles, descriptions, keywords, etc.). It is so time-consuming to have to manually upload via AlbumPattern… Just my 2¢…
Offline
#225 2005-01-21 23:51:10
Re: Plugin/Hack: Albumpattern
I’m not familiar with the Flickr API (or any other API for that matter) but expect that the plugin you want would be easier after XML-RPC support is added to TXP.
I’m a huge fan of Flickr and the folks at Ludicorp, I think they are doing some truly groundbreaking stuff and was among the earliest adopters — however, my concern with depending on Flickr is the same as with any other remotely hosted service — there really isn’t any guarantee that they will be there tomorrow or that they won’t change the TOS unexpectedly. Being something of a control freak I like to keep a little tighter reign on my data.
I understand your dislike of individual file uploads, it’s a pain in the ass if you move away from a photo ‘blog’ towards a more traditional gallery. Have you taken a look at PhotoStack ?
Offline
#226 2005-01-22 18:18:50
Re: Plugin/Hack: Albumpattern
timothy, there is the flickr gallery plugin that might be what you’re looking for. Requires PHP 5 however (not a problem for Textdrive users).
Offline
#227 2005-01-22 18:21:55
Re: Plugin/Hack: Albumpattern
Thanks – Photostack is just another means of uploading the files one at a time which I would like to avoid. I’ll check out the Flickr Plugin and see what happens…
Offline
#228 2005-01-22 23:44:44
Re: Plugin/Hack: Albumpattern
> timothygray wrote:
> Thanks – Photostack is just another means of uploading the files one at a time which I would like to avoid.
You can easily batch upload with Photostack. It’s just a matter of FTP’ing the images into the appropiatte directory and PhotoStack does the rest.
Offline