Broke my site, help requested.

Permalink
Hi folks, John here, C5 noob. Broke my site, requesting pointers.

I edited a page i built and for some reason it screwed up my Nav menu.

When i selected "compare versions" to compare the page with an earlier version, it hit me with an error that "htmldiff.py" needed to be excecutable, so I changed the file permission to 644.

That then threw another page error. so i went to change the file back to the original permission, and now all I get for my site is:


Warning: require(/home/juanzo007/city-web-consulting.com/concrete/config/base_pre.php) [function.require]: failed to open stream: No such file or directory in /home/juanzo007/city-web-consulting.com/concrete/dispatcher.php on line 8

Fatal error: require() [function.require]: Failed opening required '/home/juanzo007/city-web-consulting.com/concrete/config/base_pre.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/juanzo007/city-web-consulting.com/concrete/dispatcher.php on line 8

Er, help? Thanks!!

John

juanzo007
 
juanzo007 replied on at Permalink Reply
juanzo007
I think this points to the need to always backup your site, and for me, a need to use version control anytime i dork with php files (used to know enough of subversion to get by, but now forgot the hell out of that too!).
codingpenguins replied on at Permalink Reply
Check the directory. Maybe when FTPing you moved the concrete folder in a different location.
juanzo007 replied on at Permalink Reply
juanzo007
Thanks. This originally simple attempt to compare 2 page versions is making me see that rebuilding the site will be faster than anything else!! Never again!!