Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro
Author Message
Pride
Regular
Regular



Joined: Oct 22, 2003
Posts: 59

PostPosted: Sun Jun 06, 2004 11:34 am Reply with quote

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 Smile - 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
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sun Jun 06, 2004 4:19 pm Reply with quote

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.
 
View user's profile Send private message
Pride







PostPosted: Sun Jun 06, 2004 5:43 pm Reply with quote

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);"

[ Only registered users can see links on this board! Get registered or login! ]

I looked for a config.inc.php file in Raven's Distro, and cannot find it. Could this be a problem?
 
Pride







PostPosted: Mon Jun 07, 2004 6:22 am Reply with quote

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?
[ Only registered users can see links on this board! Get registered or login! ]
 
sixonetonoffun







PostPosted: Mon Jun 07, 2004 6:46 am Reply with quote

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







PostPosted: Mon Jun 07, 2004 6:58 am Reply with quote

Ok, I will check that file... I have tried a single JPG file, same error.
 
Pride







PostPosted: Mon Jun 07, 2004 6:59 am Reply with quote

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







PostPosted: Mon Jun 07, 2004 7:20 am Reply with quote

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







PostPosted: Mon Jun 07, 2004 7:26 am Reply with quote

They have different releases available for use with cms like phpnuke 1.3.0a is the latest. [ Only registered users can see links on this board! Get registered or login! ]
 
Pride







PostPosted: Mon Jun 07, 2004 7:28 am Reply with quote

Thanks, that is what I just downloaded and used...
 
sixonetonoffun







PostPosted: Mon Jun 07, 2004 8:32 am Reply with quote

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







PostPosted: Mon Jun 07, 2004 10:39 am Reply with quote

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







PostPosted: Mon Jun 07, 2004 2:17 pm Reply with quote

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







PostPosted: Mon Jun 07, 2004 2:19 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

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!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©