forum.coppermine-gallery.net
Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: GKB on December 19, 2003, 11:30:17 pm
-
Hey,
Need some assistance with a dilemma we're having. Basically, the hosts moved us recently, so everything basically got reset.
Ever since then I've been unable to upload images both through XP Publish, but also individually via the Control Panel.
When using XP Publish, it says they've been uploaded, but they fail to appear.
http://images.n-gamer.com/gallery/
And when using the upload picture link I get the following message:
Destination directory albums/userpics/10001/ is not writable by the script !
Do I need to CHMOD again or something?
Any help would be greatly appreciated.
- Rich
-
Do I need to CHMOD again or something?
yes, seems like your webhost has reset all permissions on your webspace (or hasn't bothered to migrate them as well). CHMOD is the solution.
GauGau
-
Thanks for your help, but strangely, I just checked, and both the albums and include folders are already CHMODDED to 777. Any more ideas?
-
might as well be 755 you have to set it to (depending on your server config). Make sure the CHMOD command also is executed for all subfolders...
Just try CHMODing once more, just to make sure.
GauGau
-
Just tried CHModding again, still no luck. Man I have no idea what's up. :(
-
What is the extended error in debug mode?
-
Sorry, how do I get into debug mode?
-
- log in as admin
- admin mode
- config
- scroll down to the very bottom
- "Enable debug mode" - "yes"
- "save new configuration"[/list:u]
-
Ok here's the debug info when attempting to upload an image through the admin cp:
USER:
Array
(
[ID] => f379d390b6f6180f80087c58fd4ba75a
[am] => 1
[liv] => Array
(
- => 2554
[1] => 724
[2] => 675
)
)
GET :
Array
(
)
POST :
Array
(
[event] => picture
[album] => 123
[MAX_FILE_SIZE] => 1048576
[title] =>
[caption] =>
[keywords] =>
[user1] =>
[user2] =>
[user3] =>
[user4] =>
)
And this as well:
Destination directory albums/userpics/10001/ is not writable by the script !
File: /home/ngamer/public_html/images/gallery/db_input.php - Line: 225
Hope that helps, if anyone thinks they can help I can PM you FTP details etc if necesarry.
-
is your server running in safe mode? There might be a permission issue (uid!) connected to safe mode...
Refer to the coppermine documentation (http://coppermine.sourceforge.net/demo/docs/index.htm#safe) for details on safe mode...
GauGau
-
Thank you, you are a saviour!
All is well, much appreciated. But now that I added that line to the config file, the tables have gone screwy. Any ideas why?
e.g. http://images.n-gamer.com/gallery/index.php?cat=2
-
switch off debug_mode again and you should be fine...
GauGau
-
Wow, thanks GauGau, you're my own personal Jesus Christ!