I have uploaded Drupal 7 to GoDaddy - apparently successfully - but when I attempt to log into my site the following errors are reported:

Warning: Unterminated comment starting line 5342 in /home/content/76/7118176/html/includes/common.inc on line 5342

Fatal error: fatal flex scanner internal error--end of buffer missed in /home/content/76/7118176/html/includes/common.inc on line 5342

I deleted the comment beginning on line 5342 from common.inc but a new problem arose on a different line.

Six deletions later the problem shifted to a line with actual code so I could go no further.

Can someone identify the cause as the situation is CRITICAL and URGENT.

I can not revert to D6.

Comments

alex’s picture

Have you tried re-uploading includes/common.inc yet?

halone’s picture

Hi
Re-uploading from where?
the version in drupal 7 is exactly the same!

seanray’s picture

We are actively developing something on Drupal 7, and haven't seen this issue. So, just a recommendation, you can checkout Drupal 7 latest source code and upload it again. Better way will be upload the tar.gz file and untar it in the server.

wingstosky’s picture

is your drupal installation on the root directory ?? .. if not try to install drupal on sub-domain instead of sub-folder ..

Guizlena Alvarado’s picture

Hi, I have had the same problem twice in different projects. When I upload D7, I have tried in domains and sub-domains. When I try to upload D7 common.inc is the last one and never upload. I have deleted and started again but the same problem appears, so I had to uploaded D6 but my client wanted D7, but I cannot find the solution.

fmilland’s picture

Hello, I have exactly the same problem, what the hell is going on? I on a deadline, and finding this thing?

In my local installation everything runs fine, but when uploading the same problem with the common.inc file and same waring.

Please help!

jamesoakley’s picture

If you're using FTP to upload, please check to make sure that you are uploading in Binary mode, not ASCII mode

As others have said, by far the better approach is to upload the .tar.gz file and then extract it on the server.


This signature is currently blank
fmilland’s picture

You're quite right, no problems now,

Thanks!

jamesoakley’s picture

Thanks for coming back to say it was sorted - an easy trap to fall into that one!


This signature is currently blank
colinawright’s picture

Thank you all for your input. I have since given up and about to make a fresh start. The FTP tar.gz comment will be useful