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

Title: Images fail to appear when uploaded through XP Publish
Post 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
Title: Re: Images fail to appear when uploaded through XP Publish
Post by: Joachim Müller on December 20, 2003, 08:12:52 am
Quote from: "GKB"
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
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on December 20, 2003, 12:46:39 pm
Thanks for your help, but strangely, I just checked, and both the albums and include folders are already CHMODDED to 777. Any more ideas?
Title: Images fail to appear when uploaded through XP Publish
Post by: Joachim Müller on December 21, 2003, 01:44:29 pm
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
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on December 23, 2003, 10:10:03 pm
Just tried CHModding again, still no luck. Man I have no idea what's up. :(
Title: Images fail to appear when uploaded through XP Publish
Post by: hyperion on December 24, 2003, 02:02:15 am
What is the extended error in debug mode?
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on December 29, 2003, 05:44:34 pm
Sorry, how do I get into debug mode?
Title: Images fail to appear when uploaded through XP Publish
Post by: Joachim Müller on December 29, 2003, 05:54:00 pm
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on January 01, 2004, 03:01:22 pm
Ok here's the debug info when attempting to upload an image through the admin cp:

USER:
Array
(
    [ID] => f379d390b6f6180f80087c58fd4ba75a
    [am] => 1
    [liv] => 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.
Title: Images fail to appear when uploaded through XP Publish
Post by: Joachim Müller on January 01, 2004, 03:17:55 pm
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
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on January 03, 2004, 11:53:25 pm
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
Title: Images fail to appear when uploaded through XP Publish
Post by: Joachim Müller on January 04, 2004, 01:38:56 am
switch off debug_mode again and you should be fine...

GauGau
Title: Images fail to appear when uploaded through XP Publish
Post by: GKB on January 05, 2004, 07:24:50 pm
Wow, thanks GauGau, you're my own personal Jesus Christ!