"Fatal error" on setup *UPDATED*

Please post all of your installation and configuration issues to this forum.

Moderators: Carpo, Saviq

"Fatal error" on setup *UPDATED*

Postby Guldstrand » Thu Jul 23, 2009 5:47 am

I tried to install the latest version of "VCD-db" on my linux server (running php5 and mysql 5), but i got an error on /setup/index.php.
Code: Select all
Fatal error: Trying to clone an uncloneable object of class ReflectionClass in /*****/*****/*****/vcddb/classes/external/ajason/AjaxBase.php on line 113

What does that mean, and how do i fix it?

EDIT: I managed to fix it myself by adding:
Code: Select all
ini_set('zend.ze1_compatibility_mode', 0);

..at the top of /setup/index.php.

Now i got another error:
Ajax error:
Unknown response from server.

..in/under "Populate data".
Is there a quick fix for this?

EDIT2: I managed to fix that to but deleting the line "159" in /classes/external/ajason/AjaxServer.php.
Code: Select all
header( 'Content-Type', 'application/json' )

The installation went fine, without any errors or problems. *i removed the setup folder*
BUT... all pages is "blank". :(

Any suggestions?
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Thu Jul 23, 2009 8:52 am

I think this has something to do with "zend.ze1_compatibility_mode" and "SimpleXMLElement".
When i set it to Off, the error disappears, but all the pages is still blank. :(

I really need some help with this.

EDIT:
Line 76 (in "vcddb/classes/VCDLanguage.php"):
Code: Select all
$xmlStream = simplexml_load_file(self::$LANGUAGE_ROOT.self::PRIMARY_LANGINDEX );
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby Saviq » Thu Jul 23, 2009 6:05 pm

Blank pages usually mean errors in the web server log files.

You could also try setting displayErrors to On in php.ini and add error_reporting(E_ALL) somewhere in the code.

You need to get some errors for us to be able to help.
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Thu Jul 23, 2009 6:16 pm

Saviq wrote:Blank pages usually mean errors in the web server log files.

You could also try setting displayErrors to On in php.ini and add error_reporting(E_ALL) somewhere in the code.

You need to get some errors for us to be able to help.

Thanks for your reply! :P
I have enabled error reporting, but the "only" error i´m getting, is the following.
Code: Select all
Fatal error: Cannot clone object of class SimpleXMLElement due to 'zend.ze1_compatibility_mode' in /*****/*****/*****/vcddb/classes/VCDLanguage.php on line 75


Line 75:
Code: Select all
$xmlStream = simplexml_load_file(self::$LANGUAGE_ROOT.self::PRIMARY_LANGINDEX );
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby Saviq » Thu Jul 23, 2009 7:01 pm

Can you disable the compatibility mode?
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Thu Jul 23, 2009 7:04 pm

Saviq wrote:Can you disable the compatibility mode?

Sure i can. ;)
I´ve already done that earlier.
The error message disappeared, but i´m still getting blank pages.
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby Saviq » Mon Sep 07, 2009 12:37 pm

Do you see errors in your web log?
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Wed Sep 09, 2009 5:27 am

Saviq wrote:Do you see errors in your web log?

Nope! No errors is shown in the log. :(
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby Saviq » Wed Sep 09, 2009 9:57 am

Well blank pages are surely PHP fatal errors, which should be logged somewhere (depending on settings in php.ini).

Without those errors I won't be able to help.

You may want to tweak 'display_errors' in php.ini and / or put error_reporting(E_ALL) somewhere in the code.
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Tue Feb 01, 2011 10:37 pm

It's been a while since I tried to install the VCD-db, and thought because I thought to try again.
I still get the same ajax error when it comes to "populate the data. "
(I've removed the "Zend Optimizer" completely, so it can't be the problem now.)
Attachments
populate-data_ajax-error.PNG
populate-data_ajax-error.PNG (50.14 KiB) Viewed 4063 times
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden

Re: "Fatal error" on setup *UPDATED*

Postby chuckles » Mon Feb 07, 2011 6:33 pm

My experience tells me that your problem might be with the version of MySql or Apache you are using. Anything more recent than Apache 2.2.11 or MySql 5.0.57a did not work for me.

YMMV
VCD-db 0.991

Linux - Debian Distro
PHP 5.2.5
MySQL 5.0.51
Apache 2.2.8
chuckles
Power user
 
Posts: 29
Joined: Mon Sep 11, 2006 4:34 pm

Re: "Fatal error" on setup *UPDATED*

Postby Guldstrand » Mon Feb 07, 2011 10:20 pm

chuckles wrote:My experience tells me that your problem might be with the version of MySql or Apache you are using. Anything more recent than Apache 2.2.11 or MySql 5.0.57a did not work for me.

YMMV

I personally do not think it has something to do with the version of mysql or php, but that there is a problem with the ajax code.
Guldstrand
 
Posts: 9
Joined: Thu Jul 23, 2009 5:40 am
Location: Sweden


Return to Installation and Configuration Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron