Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.
FAQ:
- How do I install Gallery 2?
http://codex.gallery2.org/index.php/Gallery2:How_do_I_Install_Gallery2
- How can I find a solution for my problem?
Visit http://codex.gallery2.org for: Frequently Asked Questions, Debugging Instructions, Known Issues and much more
Also try your luck with the advanced search function of this website
- What are the installation requirements for Gallery 2?
http://codex.gallery2.org/index.php/Gallery2:Installation_Requirements
- What information is required when asking for help in the forums?
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.
Gallery version (not just "2"):2.3.1
PHP version (e.g. 5.1.6):5.2.17
PHPInfo Link (see FAQ): http://cpforums.org/gallery/phpinfo.php but it doesn't work
Webserver (e.g. Apache 1.3.33): Apache (cgi-fcgi)
Database (e.g. MySql 5.0.32): 5.0.92-1~ui60+1
Activated toolkits (e.g. NetPbm, GD): IM
Operating system (e.g. Linux): linux
Browser (e.g. Firefox 2.0): ff 12.0
My server apparently had a security update last night and changed some stuff.
One of the things is:
PHP as an Apache Module
Using the advanced configuration in the Control Panel, you can
set PHP to run as an Apache module. This is still supported but any
php_value or php_flag variables added to an .htaccess file
will result in a 500 error on your web pages. If you need to set PHP
directives, you can do so directly from your scripts or by disabling PHP
as a module and setting the directives in a php.ini file.
Is that something I need to address? Or is my error from something else?
Thanks,
Andrew
Posts: 8339
first check your .htaccess and comment out any php_value and php_flag directives
this will make sure they are not an issue.
-s
Posts: 32
Hello, I checked 3 files (in main folder, in g1 folder and in g2 folder) and none had "php_value" or "php_flag" would it say that specifically?
Posts: 32
Here are the other things the email said would change and I've not found these in any config or index files either....
Apache 2.2
Please note that the migration has resulted in a small number
of changes in the runtime configuration enforced by Apache.
For example, the instruction 'IndexOptions FancyIndex' now takes
you to the function that used to be available under the obsolete
'FancyIndex On'.
Furthermore if you are using very old scripts or software, please
note that after a redirect by Apache, certain internal variables,
such as 'REMOTE_USER', will henceforth only be available as
'REDIRECT_REMOTE_USER'.
Python 2.6
Perl 5.10.1
PHP as an Apache Module
Using the advanced configuration in the Control Panel, you can
set PHP to run as an Apache module. This is still supported but any
php_value or php_flag variables added to an .htaccess file
will result in a 500 error on your web pages. If you need to set PHP
directives, you can do so directly from your scripts or by disabling PHP
as a module and setting the directives in a php.ini file.
Mapping php extensions to php5
On the previous images, parsing PHP5 was done using an .htaccess file with
the directive "AddType x-mapp-php5 .php".
Now instead, you need to use the directive "AddHandler x-mapp-php5 .php".
Thanks very much.
Andrew
Posts: 32
Well, resolved but odd. The server people said he changed something in the .htaccess file in the g2 folder.... but all that's in that folder is the automatically generated stuff. So I have no idea what he changed. But thanks for your help.