strange problem:

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
User avatar
mad72
Registered User
Posts: 74
Joined: Thu Mar 13, 2003 4:20 pm
Location: Milan, Italy
Contact:

strange problem:

Post by mad72 »

Hello!!

I have this problem:
Warning: Unterminated comment starting line 2 in /home2/viaggier/public_html/forum/index.php on line 2

Parse error: parse error, unexpected $ in /home2/viaggier/public_html/forum/index.php on line 2

in this board:

http://www.viaggierelax.it/forum/

the code of every page appears to be incomplete at the end of every line.
Example: index.php:

Image

What can I do?

ciao, thank you, Marco

User avatar
jwunderly
Registered User
Posts: 5740
Joined: Sun Mar 30, 2003 2:18 pm
Location: Easton, PA (in the groove)

Re: strange problem:

Post by jwunderly »

I assume that this is a new install. If so, what did you use to upload your files?
John (A cranky old man. "Looking for an echo ...")
using any control-panel install/update is like shooting yourself in the foot. It won't kill you, but you're really going to hobble around until it heals.
Using the wrong tools (Front Page, DreamWeaver) gives the same results
Do not PM me for Support!

User avatar
mad72
Registered User
Posts: 74
Joined: Thu Mar 13, 2003 4:20 pm
Location: Milan, Italy
Contact:

Re: strange problem:

Post by mad72 »

no, it's not news, it was a well running board until ysterday :(

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: strange problem:

Post by karlsemple »

Ok, did you try and install a mod or something? The bottom line here is if you did absolutely nothing to your forum then you need to start to think about contacting the host, files can not edit themselves so something caused them to change :)
Image

User avatar
mad72
Registered User
Posts: 74
Joined: Thu Mar 13, 2003 4:20 pm
Location: Milan, Italy
Contact:

Re: strange problem:

Post by mad72 »

I swear I did abslolutely nothing.

I now checked and the files that appears corrupted are: login.php and index.php (the last two types of every line are missing)

I think it's possible to replace them with the well working one but I want to wait the answer of the hosting company.

I find this quite strange, isn't it?

Ciao, Marco

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: strange problem:

Post by karlsemple »

It is strange but files can not just change themselves so someone somewhere must have done something, if it was not you the host may have altered something which caused this problem so see what they have to say for themselves.
Image

Locked

Return to “2.0.x Support Forum”