404 Not Found Problem when Upgrading

Questions & Problems about Installing or Upgrading with Version 3 phpList.
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

404 Not Found Problem when Upgrading

Postby celiac101 » 10:58pm, Sat 28 Dec, 2013

I am trying to upgrade from 2.10.18 to 3.0.5 and am getting a 404 Page Not found error (see below) no matter what I do. I checked an re-checked all paths in the old config file for $pageroot and $adminpages and tried various variations of them to no avail.

I am on a cpanel Linux server with all the latest updates, and am running security Suhosin, CSF firewall, etc. Is there something different about the new version that could trigger a security issue, or is there a setting I might have turned off for security that I need to turn back on? Any ideas would be helpful, thank you.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby celiac101 » 11:04pm, Sat 28 Dec, 2013

PS - I don't think it is an ownership/permission issue, as I did do some basic checking on this and did chown the directory and all files to the proper owner, checked other permission etc. I've been running this for many years and have always upgraded without issues...not sure about this one.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby Dragonrider » 9:48am, Sun 29 Dec, 2013

Without some information we are grasping straws in the dark.

What's the url to your phpList install?
What is the setting inconfig.php for your $pageroot?
$adminpages is no longer used in version 3.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 404 Not Found Problem when Upgrading

Postby celiac101 » 4:56pm, Sun 29 Dec, 2013

Sure...and perhaps that is the issue...the fact that I am using a config file with some older stuff in it?

My domian looks like this:
Code: Select all
https://www.mydomain.com/pm/public_html/lists/admin/?page=messages


and in my original config I have:
$pageroot = '/pm/public_html/lists';
$adminpages = '/pm/public_html/lists/admin';

However, one additional clue: I got the same 404 not found when I tried to set it up as a new install, using the config file that comes with the original installation, so something is clearly causing an issue with this new version on my server.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby celiac101 » 5:52pm, Sun 29 Dec, 2013

Here is the exact error, and when I check the logs it shows up as a 404:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby Dragonrider » 6:05pm, Sun 29 Dec, 2013

I'm surprised you need public_html/ in the path, that's usually not needed for the public access to your site.

Does https://www.mydomain.com/pm/public_html/lists/ work?

If not, how about https://www.mydomain.com/lists/ ? or https://www.mydomain.com/pm/lists/

Also, does it really need to be https? That's a different area of your server, it's unlikely that a link there would work with phpList as it would normally expect to be in http://yourdomain.com/pm/lists

Try to find your installation using http rather than https with the above.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 404 Not Found Problem when Upgrading

Postby celiac101 » 7:28pm, Sun 29 Dec, 2013

Yes, many years go when I first installed this I was lazy and just unpacked it in my directory which included the duplicate folder path public_html, and I only changed the version number to the "pm" path. It worked that way forever, so I saw no need to change it. Obviously the new version has an issue with this. I suspect there are many others out there who installed it in a similar fashion, so hopefully they will find this thread if they encouter the issue. I'll try out what you proposed, and report back.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby celiac101 » 11:34pm, Tue 31 Dec, 2013

I tried again using only the /lists path and am still getting a 500 error as posted above. I am not sure what else to try, as I've been running this for nearly 10 years, and never had an issue upgrading before.
celiac101
PL Nut
 
Posts: 29
Joined: 10:47pm, Sat 28 Dec, 2013

Re: 404 Not Found Problem when Upgrading

Postby duncanc » 10:12am, Thu 02 Jan, 2014

You should check the Error Log on Cpanel for the cause of the 500 error.

When installing phplist I often encounter a file/directory permissions problem. Only the owner should have write permission to the phplist directories and php files such as index.php.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: 404 Not Found Problem when Upgrading

Postby Dragonrider » 12:39pm, Thu 02 Jan, 2014

Is it a 500 error or 404 as you stated at the start of this topic?

The way to find where the missing 404 error page is, is to disable your 404 error trap in a higher .htaccess file (usually), then see what the actual report given in, or try Duncan's suggestion re the logs.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 404 Not Found Problem when Upgrading

Postby danwaterloo » 12:04pm, Sat 04 Jan, 2014

After trying all the variations of the url "https://www.mydomain.com/pm/public_html/lists/admin/?page=messages" using https, and http, and shortening it at the '/' marks, I never get a page to show up. The 404 page not found message says that the web server cannot find the page to send to your browser.

Troubleshoot this by looking at the logs for the web server. It will indicate what page it's looking for, and what it con't find. (this info would be put into the 'errors' log). here is an example:
[Fri Jan 03 19:11:05 2014] [error] [client 65.55.215.64] File does not exist: /home/it/www/public_html/wordpress/engsw

Once you know what the web server is looking for and cannot find, you can check your installation to see if the file exists. If the file does exist, then it might be a permissions issue on either the file, or any of the directories in the path to the file. Another typical error would be a typographic or misspelling of the path during the installation.

If you could share the error log message, it will give us a clue of where to look next.
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: 404 Not Found Problem when Upgrading

Postby Doooford » 11:08am, Tue 25 Nov, 2014

Have to add that I had this same issue that left me as usual feeling that all PHPList upgrades cause so much stress than the simple process given for upgrading!

I solved it after 24 hours of stress by manually editing the permissons as Dragonridder suggested so
folders should be CHMOD of 755
files should be CHMOD of 644

after this my missing PHPlist instantly reappeared and asked me to upgrade the DB to the latest version! :)
Doooford
phpLister
 
Posts: 8
Joined: 1:33pm, Thu 03 Nov, 2011


Return to Installing and Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest

cron