4 users online. Create an account or sign in to join them.Users

Search

Hi,

I cannot get Symphony (2.2) proper running on an All Inkl shared server (presumably PrivatePlus). When I use their PHP 5.2.12 version, the backend (login, etc.) is running, but the frontend throws an Internal Sever Error (and I cannot read the server error logs nor I’ve found anywhere a hint how to enable error logging – guess not there). And if I use PHP 5.3.1, I get the following:

mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected
/www/htdocs/v123/_DIR/symphony/lib/toolkit/class.mysql.php line 277

272             'database' => $database
273         );
274
275         MySQL::$_connection['id'] = mysql_connect(
276             MySQL::$_connection['host'] . ":" . MySQL::$_connection['port'], MySQL::$_connection['user'], MySQL::$_connection['pass']
277         );
278
279         if(!$this->isConnected() || (!is_null($database) && !mysql_select_db(MySQL::$_connection['database'], MySQL::$_connection['id']))) {
280             $this->__error();
281         }

which probably belongs to this.

Backtrace:

[:0] GenericErrorHandler::handler();
[/www/htdocs/v123/_DIR/symphony/lib/toolkit/class.mysql.php:277] mysql_connect();
[/www/htdocs/v123/_DIR/symphony/lib/core/class.symphony.php:263] MySQL->connect();
[/www/htdocs/v123/_DIR/symphony/lib/core/class.symphony.php:130] Symphony->initialiseDatabase();
[/www/htdocs/v123/_DIR/symphony/lib/core/class.frontend.php:53] Symphony->__construct();
[/www/htdocs/v123/_DIR/symphony/lib/core/class.frontend.php:35] Frontend->__construct();
[/www/htdocs/v123/_DIR/index.php:13] Frontend::instance();
[/www/htdocs/v123/_DIR/index.php:25] renderer();

I’ve tried and seeked … but without success yet. Does someone of the All Inkl users has a hint or pointer? Or anyone else? I’d appreciate it.

I can't really help with your issue beside letting you know that I host my sites on all-inkl.com's PrivatPlus plan without any problems (using PHP 5.2 and MySQL 5). Have you checked your install logs for errors or have you contacted their support?

Installation seems fine. Installed it via the install script as well as manually, all with the same result. The strange thing is that if I use PHP 5.2 the Symphony backend (login, editing, saving – administration) is working fine, but not the site itself – 500 Error. Tried it without htaccess (only the php-cgi part remaining), which throws parse error

Parse error: syntax error, unexpected T_NEW in /www/htdocs/v133/_DIR/index.php on line 10

The MySQL version is 4.1 (for a newer, one has to move to another server it quotes). If this’d be the cause, shouldn’t it fail for backend as well then?

Support not contacted, yet – sadly not my account – but seems to be the way to go …

Oh, two things I forgot. First thanks for your reply. Second, can I read the server error logs on PrivatePlus somewhere? There’s a /log directory, but only access logs, etc. No error logs nor I’ve found something about error logs in KAS.

Edit: 500 Error solved. Seems that it doesn’t like script tag thang with CDATA in templates.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details