Page 1 of 1

Fatal error: serendipity_smarty_init()

Posted: Sat Nov 12, 2005 2:43 pm
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.

Posted: Sat Nov 12, 2005 2:46 pm
by vaka
PS.
File /home/www/z40428/htdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php exists.

Posted: Sat Nov 12, 2005 3:12 pm
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

Posted: Sat Nov 12, 2005 4:50 pm
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 ?

Posted: Sat Nov 12, 2005 5:41 pm
by garvinhicking
That's absolutely right. You must use a different FTP client then, that does not change the filenames.

Regards,
Garvin

Posted: Sun Nov 13, 2005 9:30 am
by vaka
Thank you!!! Everything works now.