Page 1 of 1

Getting an error.....

Posted: Wed Aug 24, 2005 8:28 pm
by buzzman
I have already installed and been using the program but my server went strange and now I am getting this error, can anybody help me fix it??

Warning: main(/home/mysite/public_html//serendipity_config_local.inc.php): failed to open stream: Permission denied in /home/mysite/public_html/serendipity_config.inc.php on line 177

Warning: main(): Failed opening '/home/mysite/public_html//serendipity_config_local.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/serendipity_config.inc.php on line 177

Fatal error: Call to undefined function: serendipity_db_connect() in /home/mysite/public_html/serendipity_config.inc.php on line 198

Re: Getting an error.....

Posted: Wed Aug 24, 2005 10:49 pm
by garvinhicking
The error means that your file "serendipity_config_local.inc.php" is not found or not readable. Check if the file exists and if your webserver has read permissions!

Regards,
Garvin

Posted: Thu Aug 25, 2005 12:27 am
by Guest
Thanks that was it the permission were wrong on that file.

I don't know what happened but when I enabled URL Writing in the options it wrote over my htaccess, directed all pages to the root and cut off my access to change file permissions and delete and upload files. I did have server problems recently but it was working fine until I change that option yesterday morning.

Anyways working good now!

Posted: Thu Aug 25, 2005 7:00 pm
by garvinhicking
When changing URL rewrite method, Serendipity NEEDS to write to both your serendipity_config_local.inc.php and .htaccess files, as the contents need to be adjusted.

When writing files, the permissions of a file might change to your webserver defaults.

Regards,
Garvin