HTTP ERROR 500 after upgrade to cpg1.6.x using cpg_installer_stub.php HTTP ERROR 500 after upgrade to cpg1.6.x using cpg_installer_stub.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

HTTP ERROR 500 after upgrade to cpg1.6.x using cpg_installer_stub.php

Started by Anturaju93, December 01, 2018, 10:06:39 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Anturaju93

Hi.
I have downloaded cpg_installer_stub.php and uploaded to my site. I followed the steps and all was okay but now my gallery does not work, I get 500 error. Any help ? Using PHP 7.0 .

ron4mac

It is likely being caused by a plugin our your theme. Rename the plugin folders (myplugin => sv_myplugin). Use a different theme (<mysite>/index.php?theme=curve).

Anturaju93

Thanks for the replay. Renaming plugins folder works, now how to identify what plugin causes the problem ? I did not installed any plugin, I have only plugins from the original cpg1.5.x installation.

ron4mac

The ones that come with CPG1.6 are: sample, upload_h5a, upload_sgl, upload_swf and visiblehookpoints. Those will be okay, so you can rename them correctly. You can correctly rename others one at a time until you find the failing one(s).

If you need some of the old plugins, you can find replacements here or here.

phill104

You could also look at the servers error log. When there is a 500 error on any server the message given to the web page is quite generic. There are many reasons for this including security. You can choose to display the full error instead of either a 500 error or a blank page, or you can simply look at the logs for the exact time the error occurred. Those logs will tell you what file caused the problem. From there it is usually very simple to work out what to disable. Every host keeps their logs in different locations but it is well worth taking the time to learn where these are as it stops you pulling your hair out at 3am when it hits the fan.
It is a mistake to think you can solve any major problems just with potatoes.

Anturaju93

Got it working now  ;D it was the who's online plugin. The hosting company did not give my the 500 error logs and in cPannel I did not see any errors in the last 300 error log. Anyway its working fine now and I managed to get the modification that I had back, so I'm happy.
Thanks for your help guys.  :)