Hello, I am having two problems installing photoshare on postnuke0.7.
I have it installed, and active as a module. I have created two folders, one called tmp and one called images, both in the photoshare folder. I have given 777 access to both folders.
Here are the errors I get when trying to upload a picture through the web interface.
Warning: fopen("/postnuke/modules/photoshare/images/img16", "wb") - No such file or directory in /home/virtual/site73/fst/var/www/html/postnuke/modules/photoshare/pnuserapi.php on line 957
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site73/fst/var/www/html/postnuke/modules/photoshare/pnuserapi.php:957) in /home/virtual/site73/fst/var/www/html/postnuke/includes/pnHTML.php on line 334
These are along the top of the screen.
The other error is
Adding image dfdf (2966 bytes): "Add image" failed: could not open file "/postnuke/modules/photoshare/images/img16" for writing.
Note the image I tried to add is different from the one it says it can't add.
Is there no way to ftp the pics into the folder and let photoshare just find them?
Is it possible I have created folders in the wrong area or not given the right path?
I appreciate any help you could offer cause I really want to use this program.
GRIN.
Posted: 04.04.2003, 08:28
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
This sounds pretty much as if you have either misspelled the directory names, used the wrong casing, or simply created the wrong directories.
Or - rather - you think "/postnuke" is the webserver's file system root, which it is not (check the error message).
Photoshare's files should, in your case, be in "/home/virtual/site73/fst/var/...".
You should NOT place your images below the public HTML folder, this makes it possible to bypass the access control system.
Posted: 04.04.2003, 17:53
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Ok, that did the trick, thanks so much for your help.
Out of curiousity, how do you make photoshare a module that can be seen on the main page of postnuke? Or do I just have to link to the album section, i.e. index.php?module=photoshare&func=viewallfolders?
thanks again for your help. I am very excited to have this product working on my site.