Ruined my site, getting a php error but dont know why

hello guys, I’m new to php and webdesign and dont know what I am doing

messed up my php code using joomla, I added a module to insert html to my joomla template, I added the html which was basically google adsense code, it did not add a banner so I deleted the module and this happened:

Warning: include(html/com_content/archive/component.php) [function.include]: failed to open stream: No such file or directory in /home/content/02/9256402/html/templates/ifreedom-fjt/index.php on line 1

Warning: include() [function.include]: Failed opening ‘html/com_content/archive/component.php’ for inclusion (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/02/9256402/html/templates/ifreedom-fjt/index.php on line 1

everything on the site is out of whack and this text appears in the middle, I dont know how to fix it

any suggestions? :frowning:

Warning: include(html/com_content/archive/component.php) [function.include]: failed to open stream: No such file or directory in /home/content/02/9256402/html/templates/ifreedom-fjt/index.php on line 1

Warning: include() [function.include]: Failed opening ‘html/com_content/archive/component.php’ for inclusion (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/02/9256402/html/templates/ifreedom-fjt/index.php on line 1

Well, it says that this file:
/home/content/02/9256402/html/templates/ifreedom-fjt/index.php

(So, the file name is “index.php” and the folder is the rest of the line in you site)

Has in line one (1) of the file an include for a file called “component.php” in the folder named:
html/com_content/archive/
And, it is NOT in that folder. So, either your INCLUDE in line one (1) of “index.php” is pointing to the wrong
folder. (Perhaps it should be /home/content/02/9256402/html/com_content/archive/component.php ???)
OR, the actual file was what you deleted. If you deleted that file, then you should remove that first line from
the “index.php” file.

Hope that helps. Good luck!

Sponsor our Newsletter | Privacy Policy | Terms of Service