"invalid request" in Configure after upgrade

Questions & Problems about Installing or Upgrading

Moderators: Dragonrider, J_S, Hernol, vancoovur, H2B2, bevan, Heritage

"invalid request" in Configure after upgrade

Postby pereirar » 6:47pm, Fri 18 Jan, 2008

Hi.
I've recently upgraded to PHPlist 2.10.5 via Fantastico in my webhost provider.

After this upgrade, when I try to access the "Configure" options I get an "invalid request" error.

Unfortunately, since it's my first post in this forum, apparently I cannot attach images or link to the screenshot... which is a shame, BTW.

Basically, "invalid request" appears below the following text in the configure screen, and no config options are displayed:

Here you need to specify the correct values for your website.
You can use certain Placeholders in your values. Placeholders look like [SOMETEXT], where SOMETEXT can be different. Some useful placeholders are:

* WEBSITE - the address you type for your website
* DOMAIN - the text you type for your domain
* SUBSCRIBEURL - the location of the subscribe page
* UNSUBSCRIBEURL - the location of the unsubscribe page
* PREFERENCESURL - the location of the page where users can update their details
* CONFIRMATIONURL - the location of the page where users have to confirm their subscription


Thanks in advance to anyone who may help me.

Regards
Rui
pereirar
phplist newbie
 
Posts: 1
Joined: 4:30pm, Fri 18 Jan, 2008

Postby ghc » 11:07am, Sun 08 Mar, 2009

I'm getting the same error after a fresh install (done myself, no Fantastico).

Any solution for this?

I'm not sure but this could prevent me from using phplists whatsoever.

I'm using LAMP, with PHP5.

Regards,
Walrick
ghc
phplister
 
Posts: 7
Joined: 10:48am, Sun 08 Mar, 2009

Postby Dragonrider » 1:26pm, Sun 08 Mar, 2009

Site (sic) unseen, sounds like there may be an error in the config.php file somewhere??

I'd need to see it to understand it I'm afraid.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net

If you're really stuck with installing phpList I'm willing to help out for 1/2 hour once in a while via Remote Access. PM me if you're desperate!
Dragonrider
Moderator
 
Posts: 1356
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley

Postby ghc » 3:33pm, Sun 08 Mar, 2009

My config is (to reduce size, without most comments):

Code: Select all
/*

=========================================================================

General settings for language and database

=========================================================================

*/

$language_module = "english.inc";
$database_host = "localhost";
$database_name = "***";
$database_user = "***";
$database_password = '***';
$installation_name = 'PHPlist';
$table_prefix = "phplist_";
$usertable_prefix = "phplist_user_";
$pageroot = '/newsletter';
$adminpages = '/newsletter/admin';

/*

=========================================================================

Settings for handling bounces

=========================================================================

*/

$message_envelope = '***@***.***';
$bounce_protocol = 'pop';
define ("MANUALLY_PROCESS_BOUNCES",1);
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_user = '***';
$bounce_mailbox_password = '***';
$bounce_mailbox_port = "110/pop3/notls";
$bounce_mailbox = '/var/spool/mail/listbounces';
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 5;


/*

=========================================================================

Security related settings

=========================================================================

*/

$require_login = 1;
define("MAXLIST",5);
$commandline_users = array("admin");
define("ASKFORPASSWORD",0);
define("UNSUBSCRIBE_REQUIRES_PASSWORD",0);
define("UNSUBSCRIBE_JUMPOFF",0);
$blacklist_gracetime = 5;
define("ENCRYPTPASSWORD",1);
$check_for_host = 1;

/*

=========================================================================

Debugging and informational

=========================================================================

*/

define ("TEST",0);
define ("VERBOSE",0);
define ("WARN_ABOUT_PHP_SETTINGS",1);
define ("MANUALLY_PROCESS_QUEUE",1);
define("WORKAROUND_OUTLOOK_BUG",0);
$userhistory_systeminfo = array(
  'HTTP_USER_AGENT',
  'HTTP_REFERER',
  'REMOTE_ADDR'
);
define('USE_SPAM_BLOCK',1);
define('NOTIFY_SPAM',1);

/*

=========================================================================

Feedback to developers

=========================================================================

*/

define ("REGISTER",1);
define("EMAILTEXTCREDITS",1);
define("PAGETEXTCREDITS",1);
define ("NOSTATSCOLLECTION",1);

/*

=========================================================================

Miscellaneous

=========================================================================

*/

define ("NUMCRITERIAS",2);
define("ALLOW_NON_LIST_SUBSCRIBE",0);
define("MAILQUEUE_BATCH_SIZE",500);
define("MAILQUEUE_BATCH_PERIOD",3600);
define('MAILQUEUE_THROTTLE',1);
define('DATE_START_YEAR',0);
define('DATE_END_YEAR',0);
define('EMPTY_VALUE_PREFIX','--');
define('USE_ADMIN_DETAILS_FOR_MESSAGES',1);
define('SEND_ONE_TESTMAIL',0);

/*

=========================================================================

Experimental Features

=========================================================================

*/

define("USE_LIST_EXCLUDE",0);
define("STACKED_ATTRIBUTE_SELECTION",0);
define('REMOTE_URL_REFETCH_TIMEOUT',3600);
define('MAILQUEUE_AUTOTHROTTLE',0);
define('CLICKTRACK',0);
define('CLICKTRACK_SHOWDETAIL',0);
define('USE_DOMAIN_THROTTLE',0);
define('DOMAIN_BATCH_SIZE',1);
define('DOMAIN_BATCH_PERIOD',120);
define('DOMAIN_AUTO_THROTTLE',0);
define('LANGUAGE_SWITCH',0);
define('USE_ADVANCED_BOUNCEHANDLING',0);

/*

=========================================================================

Advanced Features, HTML editor, RSS, Attachments, Plugins. PDF creation

=========================================================================

*/

define("HTMLEMAIL_ENCODING","quoted-printable");
define("TEXTEMAIL_ENCODING",'7bit');
define("ENABLE_RSS",0);
define("MANUALLY_PROCESS_RSS",1);
define("USEFCK",1);
define("FCKIMAGES_DIR","uploadimages");
define("USETINYMCEMESG", 0);
define("USETINYMCETEMPL", 0);
define("TINYMCEPATH", "plugins/tiny_mce/tiny_mce.js");
define("TINYMCELANG", "en");
define("TINYMCETHEME", "advanced");
define("TINYMCEOPTS", "");
define("USE_MANUAL_TEXT_PART",0);
define("ALLOW_ATTACHMENTS",0);
define("NUMATTACHMENTS",1);
define("FILESYSTEM_ATTACHMENTS",0);
define("MIMETYPES_FILE","/etc/mime.types");
define("DEFAULT_MIMETYPE","application/octet-stream");
define("PLUGIN_ROOTDIR","/home/me/phplistplugins");
$attachment_repository = '/tmp';
$export_mimetype = 'application/csv';
define("EXPORT_EXCEL",0);
define("USE_REPETITION",0);
define("USE_PREPARE",0);
define("KEEPFORWARDERATTRIBUTES",0);
define("FORWARD_EMAIL_COUNT",1);
define("FORWARD_PERSONAL_NOTE_SIZE",0);
define("FORWARD_ALTERNATIVE_CONTENT",0);
define("PHPMAILER",1);
define("PHPMAILERHOST",'');
$tmpdir = '/tmp';
$database_module = "mysql.inc";
$error_level = error_reporting(0);
ghc
phplister
 
Posts: 7
Joined: 10:48am, Sun 08 Mar, 2009

Postby ghc » 2:29pm, Tue 10 Mar, 2009

No ideas?
ghc
phplister
 
Posts: 7
Joined: 10:48am, Sun 08 Mar, 2009

Postby ghc » 3:45pm, Thu 12 Mar, 2009

I tried using the original config with just the database settings modified, still the same error.

Does somebody know a solution for this? Otherwise I'm forced to uninstall phplist and look for some other software package.

Because right know it just isn't working.
ghc
phplister
 
Posts: 7
Joined: 10:48am, Sun 08 Mar, 2009

Postby ghc » 2:38pm, Sat 14 Mar, 2009

Looked into the code a bit further:

I guess the problem has to do with the following bit of code in admin/configure.php

Code: Select all
  if (!isset($default_config[$id])) {
    print $GLOBALS['I18N']->get('invalid request');
    return;
  }


It looks like $default_config[$id] is empty and as a result of that the configure function doesn't work properly.

Like before any solutions are welcome. I really would like to use phplist, it seems superior to just about any free application available.

I'll be away and unable to respond from monday till friday next week btw.

Regards,

Walrick
ghc
phplister
 
Posts: 7
Joined: 10:48am, Sun 08 Mar, 2009

Re: "invalid request" in Configure after upgrade

Postby spaceage » 4:02pm, Tue 21 Apr, 2009

I am having this same issue with 2.10.9...any suggestions/ideas? I'm on a shared host...have installed 5 times before without issue.

Thanks!
spaceage
phplist newbie
 
Posts: 2
Joined: 5:42pm, Mon 02 Feb, 2009

Re: "invalid request" in Configure after upgrade

Postby elrusso » 12:38pm, Thu 17 Sep, 2009

I've just installed 2.10.10
Same sign "Invalid request" every time I save a change in configuration.
The change is saved, but i have to go back with the browser's "GO BACK" button...

Is there a solution for this?

Thanks...
elrusso
phplist newbie
 
Posts: 2
Joined: 12:30pm, Thu 17 Sep, 2009

Re: "invalid request" in Configure after upgrade

Postby elrusso » 4:02pm, Thu 17 Sep, 2009

I've got phpList installed in a local webserver. When I configured the "website" option in cofiguration, I've inserted the internet URL of my website.
I noticed that "invalid request" stops showing when the "website" option is configured with the same location where is installed phpList. (in my case, a local URL)
elrusso
phplist newbie
 
Posts: 2
Joined: 12:30pm, Thu 17 Sep, 2009

Re: "invalid request" in Configure after upgrade

Postby tunnelboy » 5:17pm, Sat 14 Nov, 2009

Same problem here. Had the message in 2.10.9. Upgraded to 2.10.10 used NEW config file. Same thing. Any chance this bug will be fixed soon?

elruuso: "website" option. I didn't see this option in the config file. What is the variable or define name you're referring to?
tunnelboy
phplist newbie
 
Posts: 2
Joined: 5:13pm, Sat 14 Nov, 2009


Return to Installing & Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest