Author |
Message |
Pride
Regular


Joined: Oct 22, 2003
Posts: 59
|
Posted:
Sun Jun 06, 2004 11:34 am |
|
Greetings,
About a month ago, I lost my ability to batch upload photos to my nuke gallery.
I am using your 7.0 distro with very few addons. To my knowledge none of the addons/tweaks I did make happened around the time that this stopped working.
When I batch add photos (after CMODing the folder to 777 of course) I dont get errors or anything. Debug mode doesnt really say anything of importance (that I can tell anyway)
Here are screenshots of what I get AFTER I hit submit:
Admin Edit: Pride, please provide a download zip or whatever instead of these images - Thanks!
I removed all traces (that I know of) from MySQL using phpMyAdmin. Installed the Coppermine Gallery Official package (from their website) and it works fine (batch add process), but of course, it doesnt integrate into your distro very well. Besides, I really like your version better anyway.
So I remove that package, thinking that maybe it was simply the SQL DB.
I download your 7.0 distro again, and ONLY copy over the coppermine module. CMOD, etc, run the install.php, everything gets a green light, and bam... try it out.
SAME ERROR. The screenshots above show what I am currently getting.
I can give you admin access to the site if it will help you, just PM me letting me know if you have time or inclination to do so.
Thank you |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Sun Jun 06, 2004 4:19 pm |
|
Looks like there is a local value of safe mode on though it doesn't look like its a server value? Because the master value is off.
I guess thats where I'd start to find out why that value is returning safe mode on. |
|
|
|
 |
Pride

|
Posted:
Sun Jun 06, 2004 5:43 pm |
|
I wouldnt even know where to begin to look for something like that.
Doing a google search found this...
Quote: |
Safe mode issues
A significant number of webhost on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately on many hosts, safe mode is not configured properly.
If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :
With an FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
Do the same for the "userpics" directory.
Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"
|
http://www.bodyforlife2.com/gallery/README.html
I looked for a config.inc.php file in Raven's Distro, and cannot find it. Could this be a problem? |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 6:22 am |
|
I followed some instruction, to be sure it was off. Created an INFO page, and it is indeed off on the server (just as the host said it was).
What would be turning it on?
http://www.fites.net/info.php |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Jun 07, 2004 6:46 am |
|
Check your htaccess file for a php value safe mode = on or something simular. Might be worth your time to cruise the CPG forums I don't know why it would say its on if it is not on.
Your max execution time is 60 seconds how many files are you batch processing and have you tried it with like 2 or something ? |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 6:58 am |
|
Ok, I will check that file... I have tried a single JPG file, same error. |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 6:59 am |
|
The strangest part is, using the official release of Coppermine from their website, it works just fine, but again, it doesnt integrate into your distribution very well. |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 7:20 am |
|
Scratch that. I just realized that the "official release" I was using was not ported over to phpnuke. I just installed the phpnuke port from their website, and I get the same error. |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Jun 07, 2004 7:26 am |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 7:28 am |
|
Thanks, that is what I just downloaded and used... |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Jun 07, 2004 8:32 am |
|
Just out of curiousity are you clicking the button at the bottom of the batch process page? If you just switch the menu it acts like its doing something but it is just reading to actually process you have to click the button at the bottom of the page.
And as for the local value safe mode on check the htaccess its got to be set there if the host says its not on server wide and you phpinfo agrees. htaccess of you modules and coppermine directories is where I'd look since your phpinfo doesn't show it on for the webroot. I did check and coppermine reports the value accurately for me on or off. |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 10:39 am |
|
yes, I am following the correct procedure.
can you give me the code to put into the htaccess file? I attempted to do it, but it locked out the entire site |
|
|
|
 |
Pride

|
Posted:
Mon Jun 07, 2004 2:17 pm |
|
Update: My host was finally able to turn it off on the server in the php.ini file.. so all is good now.
THanks a mill for the help! |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Jun 07, 2004 2:19 pm |
|
http://www.php.net/manual/en/features.safe-mode.php
You can try htaccess but but if its limited to "admin" in the Apache config or set off php.ini you probably won't succeed. Most likely if your host is having trouble changing it there are conflicting values setup between the two. (I'd consider looking for a new host if they can't resolve this simple of an issue). If they insist on leaving it on find out what directory is setup for you open base directory. Then use that for you galleries working directory.
php_flag safe_mode off
Edit:
LMAO! Hey great glad you worked it out! |
|
|
|
 |
|