This topic is locked
[SOLVED]

 "Undefined Offset" when using XAMPP

9/6/2012 9:50:01 AM
PHPRunner General questions
L
lane author

Hello all,
When trying to open an Add or Edit page on one of my List pages I receive an "Undefined Offset" error. This only occurs after I've moved the files onto a server running XAMPP; I receive no errors when using PHPRunner's built-in web server. The complete error message is as follows:

Error type 8

Error description Undefined offset: 1

URL 192.168.0.150/opportunities_add.php?

Error file C:\xampp\htdocs\include\xtempl.php

Error line 593

SQL query
Sergey Kornilov admin 9/6/2012

What version of PHPRunner do you use (version and build number) and what version of PHP your XAMPP uses?
If you use PHPRunner 6.0 and PHP 5.4 do the following:
Open file C:\Program files\PHPRunner6.0\source\include\phpfunctions.php in any text editor and find the following code:

----------------------------

if ($errno==2048)

return 0;

----------------------------

replace it with

----------------------------

if ($errno==2048 || $errno == 8)

return 0;