Page 1 of 1

SHTML Wrapper - 500 Server Error

Posted: Fri Jul 09, 2010 7:23 am
by tianyi
When I move my serendipity blog from bluehost to fastdomain, I got stuck in this problem.

Any reply or help would be appreciate.

Thank a lot!

BTW: I did exactly according to FAQ.

Re: SHTML Wrapper - 500 Server Error

Posted: Fri Jul 09, 2010 8:08 am
by tianyi
I found this from the error_log in the root folder of serendipity:

Code: Select all

zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 

Re: SHTML Wrapper - 500 Server Error

Posted: Fri Jul 09, 2010 3:48 pm
by garvinhicking
Hi!

That means your new server does not support PDO::MySQL. You might need to change your database backend, in the serendipity_Config_local.inc.php (serendipity['dbType'] = mysql for example)

HTH,
Garvin

Re: SHTML Wrapper - 500 Server Error

Posted: Sat Jul 10, 2010 2:46 am
by tianyi
@ garvinhicking,

Thanks.

Fastdomain support mysql, I have several wordpress sites in fastdomain.

What shall I do now?

Best regards!

Re: SHTML Wrapper - 500 Server Error

Posted: Sat Jul 10, 2010 1:35 pm
by garvinhicking
Hi!

Check your serendipity_Config_local.inc.php and set $serendipity['dbType'] to "mysql". Ask your provider which PHP backend library they support (PDO-mysql, mysql, mysqli).

Regards,
Garvin

Re: SHTML Wrapper - 500 Server Error

Posted: Tue Jul 13, 2010 6:38 am
by tianyi
garvinhicking wrote:Hi!

Check your serendipity_Config_local.inc.php and set $serendipity['dbType'] to "mysql". Ask your provider which PHP backend library they support (PDO-mysql, mysql, mysqli).

Regards,
Garvin
Hi, Garvin.

Thank you for your reply in time.

I edited serendipity_Config_local.inc.php and set $serendipity['dbType'] to "mysql". The support team told me that the support mysql.

What should i do now?

Best regards!

Re: SHTML Wrapper - 500 Server Error

Posted: Tue Jul 13, 2010 8:05 am
by tianyi
Problem solved!

I upload the whole new serendipity 1.5.3 to another folder, and do a fresh install with the formal mysql setup.

then I delete all the files, and upload the old website files again. Then I can log into the admin page and change the path.

Til now, the problem solved.

Best regards!