Support > cpg1.6 upgrading

Problems with install

(1/4) > >>

pschmehl:
I maintain several websites. Three of them are on one virtual server that is running PHP 7.1.5. Coppermine runs on one site: http://www.specialforcesphotos.com/. It was an older 1.5 version, so I updated it to 1.5.48, but it still didn't work. So I upgraded to 1.6.03. I logged into the updater and successfully completed the update, but when I login, I get a blank page. I decided to create a test account, but the captcha image is broken, so I can't do that.

This is the url when visting as a guest: http://www.specialforcesphotos.com/index.php As you can see, it appears to be a normal Coppermine site.
This is the url when logged in as admin: http://www.specialforcesphotos.com/login.php?referer=index.php I'd take a screenshot, but it's a completely blank page.
The same thing happens when I login with my account, which has normal privileges.

This is the registration page: http://www.specialforcesphotos.com/register.php

This is a screenshot of the captcha portion of the registration page: https://www.dropbox.com/s/65jkfq4ei40favm/registration.jpeg?dl=0

If you need anything from me, I'll be glad to provide it. I have sudo access to the server. I don't have the option to roll back to php 5.56, and I'm not overly concerned if the site is down for a while. If you have new beta code, I have no problem testing it out.

Server details: FreeBSD 10.3-RELEASE
Apache 2.4.25
Mysql 5.6.36
PHP 7.1.5

phill104:
First thing you should do is enable error display on your server or lookup the error in your logs. When you see the blank screen, an errror has occurred but your server is setup to hide that error and place it in the logs. Once we know what the actual error is we can advise accordingly

pschmehl:
The last error in the apache website error log is from last night.

--- Code: ---[Thu Jun 15 19:49:08.966999 2017] [php7:error] [pid 48119] [client 76.183.153.52:50075] PHP Fatal error:  Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /usr/home/sherman/Sites/www.specialforcesphotos.com/update.php:33\nStack trace:\n#0 {main}\n  thrown in /usr/home/sherman/Sites/www.specialforcesphotos.com/update.php on line 33
--- End code ---
This is my last login in the apache website access logs:

--- Code: ---76.183.153.52 - - [16/Jun/2017:11:26:06 -0700] "GET /login.php?referer=index.php HTTP/1.1" 200 2313 "http://forum.coppermine-gallery.net/index
.php/topic,79080.0.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.3
0"
76.183.153.52 - - [16/Jun/2017:11:26:15 -0700] "POST /login.php?referer=index.php HTTP/1.1" 500 - "http://www.specialforcesphotos.com/login.php?referer=index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30"
--- End code ---
I'm seeing a bunch of these in the apache server error log

--- Code: ---[Fri Jun 16 00:00:01.274201 2017] [core:notice] [pid 27133] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Failed loading /usr/local/lib/php/20151012/opcache.so:  Cannot open "/usr/local/lib/php/20151012/opcache.so"
Failed loading /usr/local/lib/php/20151012/opcache.so:  Cannot open "/usr/local/lib/php/20151012/opcache.so"
--- End code ---
I pkg deleted opcache and reinstalled it. Then I restarted Apache. I got this in the server error log:

--- Code: ---[Fri Jun 16 14:02:46.850145 2017] [core:notice] [pid 27133] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Failed loading /usr/local/lib/php/20151012/opcache.so:  Cannot open "/usr/local/lib/php/20151012/opcache.so"
--- End code ---
But, opcache.so is in a different place.

--- Code: ---/usr/local/lib/php/20160303/opcache.so
--- End code ---
I'll report the results of my investigation here.

pschmehl:
I forced the reinstall of Apache and its dependencies, which resolved the opcache.so not found issue. The index page is still blank after logging in, but I'm not seeing any errors in the logs. I'll look through the docs to figure out how to enable debug mode.

pschmehl:
If I go to /update.php, I'm prompted for a login. After I login as admin, I'm taken to a page listing the things that need to be changed/updated/deleted. The list says already done. If I then click on check your file versions or gallery's start page, debug says I'm a guest. So, somehow I'm getting logged out after running update.php. Once I'm logged in, the page is blank. The registration page still has the broken captcha as well.

I'm not seeing anything in the logs.

Navigation

[0] Message Index

[#] Next page

Go to full version