Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Images fail to appear when uploaded through XP Publish  (Read 10093 times)

0 Members and 1 Guest are viewing this topic.

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Images fail to appear when uploaded through XP Publish
« Reply #1 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
Logged

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Images fail to appear when uploaded through XP Publish
« Reply #3 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
Logged

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #4 on: December 23, 2003, 10:10:03 pm »

Just tried CHModding again, still no luck. Man I have no idea what's up. :(
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Images fail to appear when uploaded through XP Publish
« Reply #5 on: December 24, 2003, 02:02:15 am »

What is the extended error in debug mode?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #6 on: December 29, 2003, 05:44:34 pm »

Sorry, how do I get into debug mode?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Images fail to appear when uploaded through XP Publish
« Reply #7 on: December 29, 2003, 05:54:00 pm »

  • log in as admin
  • admin mode
  • config
  • scroll down to the very bottom
  • "Enable debug mode" - "yes"
  • "save new configuration"[/list:u]
Logged

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #8 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
        (
           
  • => 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Images fail to appear when uploaded through XP Publish
« Reply #9 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 for details on safe mode...

GauGau
Logged

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #10 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Images fail to appear when uploaded through XP Publish
« Reply #11 on: January 04, 2004, 01:38:56 am »

switch off debug_mode again and you should be fine...

GauGau
Logged

GKB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Images fail to appear when uploaded through XP Publish
« Reply #12 on: January 05, 2004, 07:24:50 pm »

Wow, thanks GauGau, you're my own personal Jesus Christ!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 18 queries.