opendb error on XAMPP full or lite

Problems with the Windows version of XAMPP, questions, comments, and anything related.

opendb error on XAMPP full or lite

Postby tfreeman » 23. August 2010 05:57

Dear all

I want to try Opendb(http://sourceforge.net/projects/opendb) with my windows 7 machine. I installed XAMPP lite. Installing XAMPP lite or full was ok. but I got the following errors when I ran that opendb application by typing in http://localhost/opendb/index.php.



Deprecated: Assigning the return value of new by reference is deprecated in C:\XAMPP\xampplite\htdocs\opendb\functions\theme.php on line 423
Deprecated: Assigning the return value of new by reference is deprecated in C:\XAMPP\xampplite\htdocs\opendb\functions\site_plugin.php on line 127
Deprecated: Assigning the return value of new by reference is deprecated in C:\XAMPP\xampplite\htdocs\opendb\functions\filecache.php on line 758
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\XAMPP\xampplite\htdocs\opendb\functions\theme.php:423) in C:\XAMPP\xampplite\htdocs\opendb\include\begin.inc.php on line 142
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\XAMPP\xampplite\htdocs\opendb\functions\theme.php:423) in C:\XAMPP\xampplite\htdocs\opendb\include\begin.inc.php on line 142
Warning: Cannot modify header information - headers already sent by (output started at C:\XAMPP\xampplite\htdocs\opendb\functions\theme.php:423) in C:\XAMPP\xampplite\htdocs\opendb\functions\http.php on line 73


with many thanks
Real
tfreeman
 
Posts: 1
Joined: 10. August 2010 04:57

Re: opendb error on XAMPP full or lite

Postby glitzi85 » 23. August 2010 09:13

Hi,

i remember that i got the same errors when i installed OpenDB the last time. It is not a problem of XAMPP, OpenDB is just poorly programmed. The solution is simple, open the three files (theme.php, site_plugin.php and filecache.php) in an editor (PSPad i can recommend) and scroll to the line noted in the error message. You will find something like this:
Code: Select all
 $cssParser =& new cssparser(FALSE);
(example from theme.php)
Simply replace the =& with = so it looks like this:
Code: Select all
 $cssParser = new cssparser(FALSE);

Then it should work. The warnings are just thrown, because of the previous errors. They will disappear automatically, if you resolve the errors.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 196 guests