TReibling Posted May 31, 2003 Posted May 31, 2003 For some reason after installing the OS Commerce package, I get the following errors when trying to hit the admin page. I'm unable to start configuring my store. Warning: main(/includes/application_top.php) [function.main]: failed to create stream: No such file or directory in /home/domain/public_html/catalog/admin/index.php on line 13 Fatal error: main() [function.main]: Failed opening required '/includes/application_top.php' (include_path='') in /home/domain/public_html/catalog/admin/index.php on line 13 Can someone help? Thanks in advance, Todd
Guest Posted May 31, 2003 Posted May 31, 2003 Is it a clean install? Did you move the store from a different directory? What version are you using?
TReibling Posted May 31, 2003 Author Posted May 31, 2003 It is version osCommerce 2.2-MS1 and it is a clean install.
TReibling Posted May 31, 2003 Author Posted May 31, 2003 I tried that once also. I'm confused. Warning: main(catalog/includes/application_top.php) [function.main]: failed to create stream: No such file or directory in /home/netwrkan/public_html/catalog/admin/index.php on line 13 Fatal error: main() [function.main]: Failed opening required 'catalog/includes/application_top.php' (include_path='') in /home/netwrkan/public_html/catalog/admin/index.php on line 13
Guest Posted May 31, 2003 Posted May 31, 2003 This is line 13 in /catalog/admin/index.php require('includes/application_top.php'); Its looking for application_top.php and can't find it. Make sure you are ftp'ing it in ascii mode, and that you are putting it in /catalog/admin/includes, and not in /catalog/includes.
TReibling Posted May 31, 2003 Author Posted May 31, 2003 Same error. I went back and use the cpanel file manager to upload the files. I also made sure my ftp program had ASCII set. Still the same results. Warning: main(includes/application_top.php) [function.main]: failed to create stream: No such file or directory in /home/netwrkan/public_html/catalog/admin/index.php on line 13 Fatal error: main() [function.main]: Failed opening required 'includes/application_top.php' (include_path='') in /home/netwrkan/public_html/catalog/admin/index.php on line 13
Guest Posted May 31, 2003 Posted May 31, 2003 Ok, Heres what I just did, I just deleted my application_top.php in my admin folder, here are my errors: Warning: main(includes/application_top.php) [function.main]: failed to create stream: No such file or directory in /home/thevinyl/public_html/test/admin/index.php on line 13 and: Fatal error: main() [function.main]: Failed opening required 'includes/application_top.php' (include_path='') in /home/thevinyl/public_html/test/admin/index.php on line 13 I then uploaded it back to /home/thevinyl/public_html/test/admin/includes/ and it works great. About the only other thing I can recommend, is delete the old file first, I have had problems before where files didn't get replaced if they already existed.
TReibling Posted May 31, 2003 Author Posted May 31, 2003 I deleted both files and then uploaded new one to their associated paths. After I deleted the index.php file, it gave me this error. Forbidden You don't have permission to access //catalog/admin/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Is something messed up in another files that it is referring to //catalog/admin instead of /catalog/admin ?
Guest Posted May 31, 2003 Posted May 31, 2003 can you give me ftp access to your site? If not I understand. Your configure.php file in /catalog/includes and in /catalog/admin/includes defines the site variables. The only time I have had to mess with those files though, is when I moved my site to root, and when I added SSL.
Guest Posted June 4, 2003 Posted June 4, 2003 I am getting the same errors. I also deleted "application_top.php" and put a new copy in the same location, but still get the same errors. Has this problem been solved yet?
TReibling Posted June 4, 2003 Author Posted June 4, 2003 Check you admin directory for the full contents. That was my problem. The install did not complete installing all of the files.
mouseover2 Posted June 4, 2003 Posted June 4, 2003 Sounds like you have a permission issue. Check the permissions to the installed folders. Mouseover2
Guest Posted June 4, 2003 Posted June 4, 2003 When I helped Todd, I found that he only had about half of the admin directory. I uploaded all the other files & folders and that fixed his problem.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.