PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
mds
Client


Joined: Dec 24, 2004
Posts: 194
Location: Michigan

PostPosted: Sun Dec 02, 2007 6:23 pm Reply with quote Back to top

I use menalto's gallery version 1.X and upon my site coming back online i recieved a internal server error i think it was lol....anyway click into your gallery directory and make a new file called php.ini...then click on the .htaccess file copy the following from the top
Code:
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value session.save_handler files
php_value register_globals off

and paste into the php.ini file you just created.

go back to your .htaccess file and remove/delete tho's lines from the .htaccess

you should be good to go and your gallery should come back up....

Hope this helps someone and i posted it in the correct spot ...
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Sun Dec 02, 2007 8:18 pm Reply with quote Back to top

You can't just paste the code into your php.ini. You have to change the syntax also.
Code:
post_max_size = 20971520
upload_max_filesize = 20971520
magic_quotes_gpc = off
session.save_handler = files
register_globals = off


But, in your case, you don't need the php.ini at all because all of the defaults are already doing these Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mds
Client


Joined: Dec 24, 2004
Posts: 194
Location: Michigan

PostPosted: Sun Dec 02, 2007 8:50 pm Reply with quote Back to top

so i could delete these all together then from htaccess and the php.ini file i made ?
Code:
post_max_size = 20971520
upload_max_filesize = 20971520
magic_quotes_gpc = off
session.save_handler = files
register_globals = off


this exactly how the php.ini file i made looked and it worked to bring my gallery back online lol
Code:
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value session.save_handler files
php_value register_globals off
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Sun Dec 02, 2007 8:54 pm Reply with quote Back to top

Quote:
this exactly how the php.ini file i made looked and it worked to bring my gallery back online lol


That's because your php.ini file was ignored. Delete it and you will see what I mean.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mds
Client


Joined: Dec 24, 2004
Posts: 194
Location: Michigan

PostPosted: Sun Dec 02, 2007 9:04 pm Reply with quote Back to top

ok thank you very much
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum