SHTML Wrapper - 500 Server Error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
tianyi
Regular
Posts: 18
Joined: Thu Sep 11, 2008 11:02 am

SHTML Wrapper - 500 Server Error

Post 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.
tianyi
Regular
Posts: 18
Joined: Thu Sep 11, 2008 11:02 am

Re: SHTML Wrapper - 500 Server Error

Post 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 
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: SHTML Wrapper - 500 Server Error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tianyi
Regular
Posts: 18
Joined: Thu Sep 11, 2008 11:02 am

Re: SHTML Wrapper - 500 Server Error

Post by tianyi »

@ garvinhicking,

Thanks.

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

What shall I do now?

Best regards!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: SHTML Wrapper - 500 Server Error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tianyi
Regular
Posts: 18
Joined: Thu Sep 11, 2008 11:02 am

Re: SHTML Wrapper - 500 Server Error

Post 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!
tianyi
Regular
Posts: 18
Joined: Thu Sep 11, 2008 11:02 am

Re: SHTML Wrapper - 500 Server Error

Post 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!
Post Reply