lehmbooks Posted July 29, 2010 Posted July 29, 2010 I installed Dynamic SiteMap v 4.1 for the first time, after completing, I went to my admin page-->Tools-->SiteMap Maintenance and then received this message: Warning: main(file:///C|/Users/Lori/Desktop/includes/application_top.php) [function.main]: failed to open stream: No such file or directory in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\sitemap.php on line 7 Fatal error: main() [function.require]: Failed opening required 'file:///C|/Users/Lori/Desktop/includes/application_top.php' (include_path='.;C:\PHPVersions\PHP4.x-latest\includes') in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\sitemap.php on line 7 Please tell me what I should do. Thanks!
germ Posted July 29, 2010 Posted July 29, 2010 Chnage line 7 to this: require('includes/application_top.php'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lehmbooks Posted July 30, 2010 Author Posted July 30, 2010 Ok, now I've changed line 7 and now I cannot get into my admin site at all and I have these two warnings: Warning: main(includes/application_top.php) [function.main]: failed to open stream: No such file or directory in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\login.php on line 13 Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.;C:\PHPVersions\PHP4.x-latest\includes') in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\login.php on line 13 AND Warning: main(includes/application_top.php) [function.main]: failed to open stream: No such file or directory in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\index.php on line 13 Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.;C:\PHPVersions\PHP4.x-latest\includes') in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\index.php on line 13 These lines already have require('includes/application_top.php'); Now what do I need to do? Thanks!
lehmbooks Posted July 30, 2010 Author Posted July 30, 2010 Now I got back into my admin site and when I clicked on SiteMap Maintenance, this is the error I receive now... Parse error: parse error, unexpected T_STRING in e:\websites\1414\lehmbooksandgifts.com\catalog\admin\includes\languages\english\sitemap.php on line 13 This is the line that is on line 13: define('HEADING_TITLE'file:///C|/Users/Lori/Desktop/, 'Site Map Maintenance');
germ Posted July 30, 2010 Posted July 30, 2010 Download the contribution again and find out what's supposed to be on that line. Judging from your posts and errors you've been using something like FrontPage or Dreamweaver to edit PHP files and it's changing things you don't realize and don't want changed. Just use a SIMPLE TEXT EDITOR (Notepad or Wordpad [ NOT M$OFT WORD! ] will work). Personlly I use Crimson Editor (it's free, just g00gle it if interested). If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.