*

Recent

Author Topic: Warning: fopen(/home/hostingaccountname/public_html/cache/sitesettings) [functio  (Read 3795 times)

wer2chosen

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
This is the second time I set it up. First time on  a windows server at godaddy. I changed over to a linux box, chmod cache(and others to 777) I can now do some of the functionality like logging in, changing passwords. I just keep getting this error.
Warning: fopen(/home/hostingaccountname/public_html/cache/sitesettings) [function.fopen]: failed to open stream: No such file or directory in /home/content/g/u/i/guildhall/html/includes/functions.php on line 74 in a bunch of places for everything on my pages.

wer2chosen

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
The worst thing is the system is working, it just looks like crap with all the errors. I can add games, categories, the page is just covered with this error message. My site is at http://www.guildhallonline.com/ if you want to look at it.

wer2chosen

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
I figured it out after about 5 total hours(I had to learn PHP! LOL

I changed this line in the functions.php
from "$file = $cachepath . $name ;"
to "$file = $name ;"

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
That's a work around that works for your installation, but might not for somebody else, or might be insecure. At the very least it might put a whole bunch of cache files where you might not want them. It looks like the file /includes/config.php is not properly edited to include the cachepath variable.

gamefen

  • Newbie
  • *
  • Posts: 1
  • Force: +0/-0
and i have this eror :(

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
pm sent