Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php (/thread-4200.html) Pages: 1 2 |
Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - tariqf - 09-06-2008 05:47 AM Hi since my RC5-RC6 upgrade I can no longer add mail accounts, when I try to do so I get the above message. Can anyone explain how I can fix this? I even installed the latest nightly today but the same problem. Thanks in advance for any comments or help. Been trying to fix this for 2 days! RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - joximu - 09-06-2008 06:16 AM Disable php_errors - at least the informative messages. This is not a bug - just not a perfect programming... :-) RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - sci2tech - 09-06-2008 06:26 AM Check if you have last versions for the files mail_add.php and mail_add.tpl. Compare with versions in the trunk. I did not find anything wrong, all my test finished without errors. RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - tariqf - 09-06-2008 07:25 AM Ok thanks for your responses - I have downloaded latest trunk and got latest mail_add.php and mail_add.tpl from there to my live ispcp folder however I still get the same error and a message below saying " "Query was empty" All I have then is a "back" link and the mail account is not created. What can I do now? I really want to add some mail accounts as soon as I can even if there is a manual method for now I don't mind. RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - sci2tech - 09-08-2008 02:18 AM Try to enable gui debug (in ispcp/gui/include/ispcp-lib.php Config::set('DUMP_GUI_DEBUG', true); ) and see in bottom of the page if all POST data are right. Data should look like: Quote:Content of $_POST: RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - tariqf - 09-08-2008 05:15 AM Hi sci2tech I enabled gui debug like you said by setting that value to true however I do not get any debug information just the same as I originally got. I also restarted apache and my web browser but still no debug information. ispcp-lib.php only exists in one place so I have edited the correct file. Any ideas anyone? I'm desperate to get this sorted before Monday morning when emails will start coming in. RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - sci2tech - 09-08-2008 05:19 AM Can you pack you gui folder and send to me? (do not send confidential data ispcp-db-keys.php). See pm for email. RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - tariqf - 09-11-2008 07:04 AM Hi sci2tech did you get a chance to have a look at this? still stuck with the same problem believe it or not! Thanks in advance RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - sci2tech - 09-11-2008 07:06 AM I did test it but found no problem. Can you setup a test account (a dummy domain) where i can test? I think that somehow your browser or your server suppress POST variable. RE: Undefined index: mail_type_forward in /var/www/ispcp/gui/client/mail_add.php - tariqf - 09-11-2008 07:18 AM ok just tried that and have realised there is more of a problem than I thought - the test domain I just added still has a non-ready status from ispcp gui |