1
ron-cpw
Cache folder questions.
  • 2007/1/31 23:04

  • ron-cpw

  • Just popping in

  • Posts: 82

  • Since: 2006/12/19


This is a pretty serious set of questions...fortunately they all relate to a crash of a test site, not a live one.

One of the "mule" domains we use for testing went belly up for no apparent reason.... suddenly home page went 'white screen' and cannot access admin area.

The database looks intact.

Exploring the site, we find the cache directory is completely empty.

1. Is there any logical reason for this to happen? ..or, just an unlucky glitch at the server?

Now...the real important question:

Is there a process that can be used to "rebuild" the cache folder?

What else is in there besides adminmenu.php

Although it's a test site...we would like to get it back to it's last known condition. As a test site, we haven't backed it up regularly...

Sure, we could overwrite with an older site backup..
...but I would very much like to know more about this problem and discover a repair procedure.

Learning from it, you know... lemonade out of lemons

Any help?

thanks

2
rabideau
Re: Cache folder questions.
  • 2007/2/1 0:37

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Just empty the cache folders (cache and templates_c). They'll rebuild themselves with use. At the same time this might fix your problem. I'd say you might have wine... not lemonade.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
ron-cpw
Re: Cache folder questions.
  • 2007/2/1 3:42

  • ron-cpw

  • Just popping in

  • Posts: 82

  • Since: 2006/12/19


OK..here's a follow-up..and I hope this helps anyone with a similar problem.

Orig problem: site went belly up for no apparent reason.
Quick scan of database looked normal

Symptoms:
-access site home page and get a blank screen
-access admin by url and get a blank screen
-cache folder is empty
-force by URL the admin-system settings and try and re-save to recreate adminmenu.php - no joy, still empty folder.

Dead duck, eh?

Well (after searching around for answers here)

1. Using PHPMyAdmin, went in to config table and set debug on.
2. that now showed a fatal error in class/xoopseditor/xoopseditor.php
on line 70...that is where a check is made for a Frameworks file

Bingo! (lightbulb on)....the last thing we did before the site went south was to upload Wordpress and Frameworks for a later installation.

Went in and deleted the Frameworks directory and...viola
The site is back alive.

Don't know why....we'll find that out later.
But the steps to solve it became simple with debug.

Just passin' it along for other rookies like me.

4
BLimey
Re: Cache folder questions.
  • 2007/2/4 10:43

  • BLimey

  • Just popping in

  • Posts: 3

  • Since: 2007/1/3 1


See my post inhttps://xoops.org/modules/newbb/viewtopic.php?topic_id=56788&start=0#forumpost251643

Quote:

When loading modules I (sometimes) get the Blank Page of Death. Setting the DEBUG, it is:

Parse error: syntax error, unexpected T_STRING in /home/amk/public_html/t2/htdocs/cache/adminmenu.php on line 215
All errors (0) queries (3) blocks (0) extra (0) timers (3) (where /home/amk/public_html/t2/ is the root)

Editing the adminmenu.php, I remove the double quotes around
"Framework providing functionnalities to SmartModules" and everything works again!
I also take out the spelling error

To do this for every module or change-to-module is a veritable Pain in the Anatomy

Login

Who's Online

131 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits