Hi, I hope someone can help.
I have been working on a test site and wanted to get rid of the RSS syndicate content from my pages.
I searched and found some ideas and gave them a try, but 1 or a combination of 'hacks' has left me in quite a predicament. When clicking a link for one of the pages I get the "Parse error: " as show in the subject line. I also get the same error every time I try to log into my user account for editing my Drupal site. I changed each file back to it's original (I think) before trying something else. I edited each of the files with Notepad. (common.inc, theme.inc, and style.css)> any ideas what I did wrong, or can do to correct this? thanks in advance for any help. Brent

Comments

zeta ζ’s picture

The error is in /includes/common.inc on line 2236 :-)

Try restoring the file from the original download.

Next time: you might need a decent code-highlighting text editor. Lots are available for Linux, or several IDE’s work on windoze too.
___________________
It’s in the detaιls…

demonstration portfolio

techsuper’s picture

The mysterious thing, is that I didn't edit this file anywhere close to line 2236. It was within the first 100 lines. I did restore the original file. Something else is corrupt from the edit. Can I get a copy of common.inc from another user, or are they specific to each web site?

zeta ζ’s picture

Line 2236 is at the end of the file. If there was a mistake near the beginning, php might not notice until it gets to the end!

None of you core files should be edited so just download the whole tarball and pretend you’re upgrading to D5.7.
___________________
It’s in the detaιls…

demonstration portfolio