Fatal error: serendipity_smarty_init()

Having trouble installing serendipity?
Post Reply
vaka

Fatal error: serendipity_smarty_init()

Post by vaka »

Hi!

I've installed serendipity through express installation. After getting succesfull instalation message, i'm getting this message, when i'm trying to open main page.

Code: Select all

Warning: serendipity_smarty_init(/home/www/z40428/htdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /home/www/z40428/htdocs/serendipity/include/functions_smarty.inc.php on line 170

Fatal error: serendipity_smarty_init(): Failed opening required '/home/www/z40428/htdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear:/home/www/z40428/htdocs/serendipity/:/home/www/z40428/htdocs/serendipity/bundled-libs/') in /home/www/z40428/htdocs/serendipity/include/functions_smarty.inc.php on line 170
I've made CHMOD to 777 to everything. But still i'm getting error message.
vaka

Post by vaka »

PS.
File /home/www/z40428/htdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php exists.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Please do not only check if the file exist, also check file and directory permissions. If this PHP error happens it really means PHP cannot read/include that file.

Check if you uploaded the file right and if the filesize match with that in your serendipity release file.

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/
vaka

Post by vaka »

I've checked permissions several times.

Maybe, problem in file name, because on my local computer with windows it works good, but after uploading by FTP-connection to Remote Server with Linux(i think) filenames with capital letters at the begining, on server starts with lowercase letter.

I think Linux(Unix) distiguish capital and lower letters.

Maybe the problem is here ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That's absolutely right. You must use a different FTP client then, that does not change the filenames.

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/
vaka

Post by vaka »

Thank you!!! Everything works now.
Post Reply