404 error after button redirect

Once you've installed phpList... ask questions here!
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 error after button redirect

Postby Naius » 12:39pm, Wed 29 Jan, 2014

Hello all,

Instead of uploading phplist to /list I created subdomain and uploaded it to root of the subdomain directory.
It seems to work just fine but after some operations in adminsitration it seems to redirect me to /lists/admin instead of /admin which cases 404 error.

I set $pageroot = '/'; but it doesnt seem to solve the problem

Thanks for advices
Naius
phpList newbie
 
Posts: 2
Joined: 12:35pm, Wed 29 Jan, 2014

Re: 404 error after button redirect

Postby Dragonrider » 1:24pm, Wed 29 Jan, 2014

In version 2 phpList, don't forget to change the $adminpages as well as the $pageroot setting.
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 error after button redirect

Postby Naius » 2:12pm, Wed 29 Jan, 2014

Thanks for the tip, but there is no $adminpages in my config.php nor in config_extended.php. Tried to add $adminpages = '/admin/'; to both config files but it didnt help.

EDIT: oops now I see that i post it to the wrong forum, I have version 3. Sorry about that :(. Is there a way to set admin directory in v3?

EDIT2: I had only adminpages set in config.php, i set both $pageroot = '/';
$adminpages = '/admin/'; and it works. Probably didnt get idea of config files.. it seems like whats in config_extended doesnt truly work as long as you dont copy it to config?
Naius
phpList newbie
 
Posts: 2
Joined: 12:35pm, Wed 29 Jan, 2014

Re: 404 error after button redirect

Postby Dragonrider » 2:54pm, Wed 29 Jan, 2014

Version3 config v.s config_extended.

viewtopic.php?f=33&t=39697
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


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 1 guest