PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

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: 2499

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

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
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

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 to the forums!


I looked for a config.inc.php file in Raven's Distro, and cannot find it. Could this be a problem?
View user's profile Send private message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

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


Joined: Jan 02, 2003
Posts: 2499

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

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


Joined: Oct 22, 2003
Posts: 59

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

Ok, I will check that file... I have tried a single JPG file, same error.
View user's profile Send private message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

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


Joined: Oct 22, 2003
Posts: 59

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

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


Joined: Jan 02, 2003
Posts: 2499

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

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 to the forums!
View user's profile Send private message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

Thanks, that is what I just downloaded and used...
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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


Joined: Oct 22, 2003
Posts: 59

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

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


Joined: Oct 22, 2003
Posts: 59

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

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


Joined: Jan 02, 2003
Posts: 2499

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

Only registered users can see links on this board!
Get registered or login to the forums!


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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum