I have errors

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
Paul_Nerds
New user
New user
Posts: 3
Joined: 2005-07-23 23:25
Location: Calgary, Alberta, Canada
Contact:

I have errors

Post by Paul_Nerds » 2005-07-29 04:16

Hi

I am a newbie to PHP and hMailServer and Squirrelmail. Probably not a good combination. I seem to have everything mostly running.

In the SM I get the following errors.

On all pages just below the menu:
Notice: Undefined index: REQUEST_URI in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\timeout_user\functions.php on line 109

Notice: Undefined offset: 1 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\timeout_user\functions.php on line 110

On the folders page:
Notice: Undefined offset: 0 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 307

Notice: Undefined offset: 0 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 308

Notice: Undefined offset: 0 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 309

Notice: Undefined offset: 0 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 310

Deleted Items 0 0 0 k
Drafts 0 0 0 k
Sent Items 0 0 0 k
4 Folders 0 0 0 k

Notice: Undefined offset: -1 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 138

Notice: Undefined offset: -1 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 139

Notice: Undefined offset: -1 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 140

Notice: Undefined offset: -1 in E:\Inetpub\websites\BusinessStop.com\hms_squirrelmail\plugins\folder_sizes\setup.php on line 141

I suspect I just need to authorize something on the server.

Windows 2003, PHP 5, hMailServer 4.125, this SM.

Thanks for creating this it is great.

Paul

p3
Normal user
Normal user
Posts: 74
Joined: 2005-07-19 03:02

Post by p3 » 2005-07-29 04:50

If the page loads, which it will, it just means you have errors turned on in php.ini

Paul_Nerds
New user
New user
Posts: 3
Joined: 2005-07-23 23:25
Location: Calgary, Alberta, Canada
Contact:

Post by Paul_Nerds » 2005-07-29 04:55

Ok.

I understand I can turn the error display off, but are the errors not showing a problem?

Paul

p3
Normal user
Normal user
Posts: 74
Joined: 2005-07-19 03:02

Post by p3 » 2005-07-29 05:26

Paul_Nerds wrote:Ok.

I understand I can turn the error display off, but are the errors not showing a problem?

Paul
No, most large php scripts have "notices", which are things that don't stop the script, but could be problems eventually. Here they aren't. I, personally, since I write php scripts, have the errors put into a log file so I can review it if there are problems.

Post Reply