1
av8ndad
HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 6:42

  • av8ndad

  • Just popping in

  • Posts: 4

  • Since: 2005/11/24


I went to my site today (http://www.teamlandsharks.com) and found just a blank white page. At first I was stunned, but then I tried to troubleshoot what was wrong.

Everything looks okay when I go to my ftp client and poke around.

I finally was able to login to my admin account (by going to my gallery at http://www.teamlandsharks.com/modules/xoopsgallery). But when I tried to open admin.php I got another blank page.

I looked around in the forums and learned that sometimes things get fixed by deleting adminmenu.php. I did that and was able to access the admin pages. I turned on php debugging and went to the home page. I got the following error:


Parse errorparse errorunexpected in /home/teamlan/public_html/templates_c/%%94^943^943A402E%%db%3Apical_todays_schedule.html.php on line 67



Here is more info on my setup:

XOOPS Version: 2.0.9.2
Module Name/Version: index.php
PHP Version: 4.3.11
MySQL Version: 4.0.22 standard
Web Server Software (Apache/IIS/Other): Apache 1.3.22
Operating System: Linux
Theme you are using: Zaja_Blue
Custom template: (Yes/No) Yes (7Dana.com)
PHP Debug Messages: see above
MySQL Debug Messages: none
Smarty Debug Messages: none

Please let me know what I should do to troubleshoot and fix this problem!

Thanks!

David

2
frankblack
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:12

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Look into the template pical_todays_schedule.html and check if any smarty-tags are not written correctly.

Normally they look like this:


<{$varwotever}>



Perhaps the <{ is missing somewhere?

3
av8ndad
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:15

  • av8ndad

  • Just popping in

  • Posts: 4

  • Since: 2005/11/24


UPDATE:

Now I can't access the admin menu anymore. When I try to login, it says that this is my first time accessing the admin menu. It then says:

Warning [PHP]: fopen(/home/teamlan/public_html/cache/adminmenu.php): failed to open stream: Permission denied in file include/cp_functions.php line 425

Then it gives me the following php error:

Parse errorparse errorunexpected T_STRING in /home/teamlan/public_html/cache/adminmenu.php on line 4


4
av8ndad
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:18

  • av8ndad

  • Just popping in

  • Posts: 4

  • Since: 2005/11/24


Actually, there isn't a file with that exact name. In fact every file in the templates_c folder has a name that starts with a bunch of gibberish. Have I been hacked?

5
frankblack
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 7:28

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


You have no pical-module installed? Or did you made a deinstall of pical? Try to delete the files from templates_c.

No, you haven't been hacked. Those weird names are normal for files in templates_c.

Update: the folder cache needs chmod 777. Did you check this?

6
av8ndad
Re: HELP! Strange problem and I don't know how to fix it!
  • 2005/11/24 15:01

  • av8ndad

  • Just popping in

  • Posts: 4

  • Since: 2005/11/24


Quote:

frankblack wrote:
Try to delete the files from templates_c.

Update: the folder cache needs chmod 777. Did you check this?


THANK YOU, frankblack! Both of those suggestions fixed my problem and my site! You are a life saver!

Now . . . can anyone tell me what happened and how I can avoid this in the future? I am sure that the permissions on the cache folder are my fault. I was fiddling around trying to fix this problem and I probably messed that part up, but why were the files in templates_c messed up?

Thanks again!!!!!

Login

Who's Online

210 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits