Consant PHP errors causing site to go down
| Project: | Book Review |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I upgraded from 4.7 to 5.1 last week, and went live with 5.1 yesterday. The site has gone down twice, citing "max_user_connnections" errors, and required the host to restart due to connections not being closed properly.
Now that the site is back up, all I see in the error logs are constant PHP errors. Same one, all the time:
file_get_contents(/sites/default/modules/bookreview/bookreview.css) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home/user/public_html/includes/common.inc on line 1513.
I'm on 5.1, so the CSS not in the /sites/default/modules folder. I did however, add the CSS file to the /sites/default/modules in hopes of getting rid of this error quickly. I had no luck.
Any help or insight you could provide as to why I am constantly seeing this PHP error, would be greatly appreciated. I'm told the site will continue to go down, until this is fixed.

#1
An update:
The PHP errors that caused my server to go down were caused by this module. The default CSS file location was not changed from the 4.x location to the 5.x location. I should have realized that there was an option to change the CSS file location in the settings area, but it was the last place I thought of to look, and I missed it. For anyone else having server problems using this module, make sure you go into the module settings and manually change the location of the CSS file to the correct directory:
Instead of:
/sites/default/modules/bookreview/bookreview.css
It should be:
/modules/bookreview/bookreview.css
I'm leaving this open, because it should not default to a 4.x location on a 5.x version.
Thank you,
jGirlyGirl