joslohan Posted July 6, 2009 Posted July 6, 2009 Hi, This is my first post on this forum. I have installed my first dynamic website. Site is working fine only it was not caching thumbnails so i read PDF provided and logged in to admin to create a directory. here how i did it, my site is installed at root (public_html) ./ /home/USERNAME/public_html/cache (set perm to 777) tested site ok. logged in to admin and clicked on catalogue linnk on left and these are the messages i got, Warning: include(includes/functions/cache.php) [function.include]: failed to open stream: No such file or directory in /home/a5893897/public_html/includes/application_top.php on line 122 Warning: include() [function.include]: Failed opening 'includes/functions/cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a5893897/public_html/includes/application_top.php on line 122 Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home/a5893897/public_html/includes/application_top.php on line 128 Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a5893897/public_html/includes/application_top.php on line 128 Error lines on File /include/application-top.php 122. // include cache functions if enabled if (USE_CACHE == 'true') include(DIR_WS_FUNCTIONS . 'cache.php'); 128. // include navigation history class require(DIR_WS_CLASSES . 'navigation_history.php'); cache and navigation history are present at theie respective places, Please could some one help me to fix this? Best Regards please bear in mind i am quite new to php and still toggling with the structure of the oscommerce/php.
joslohan Posted July 6, 2009 Author Posted July 6, 2009 okay, now i have disabled cache in admin but i still can not see catalogue (when clicking on the link) error : Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home/a5893897/public_html/includes/application_top.php on line 128 Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a5893897/public_html/includes/application_top.php on line 128 this is a problem in admin panel only not in the actual site.
joslohan Posted July 6, 2009 Author Posted July 6, 2009 No need to follow up i found the solutionafter debugging the admin files. for a reference, it was the categories files in admin missing 3 of 5 files connected to it, Admin>Categories.php Admin/includes/application-top.php Admin/includes/stylesheet.css Admin/includes/general.js Admin/includes/javascript/spiffyCal/spiffyCal_V2_1.js problem solved and site admin panel is back on
Recommended Posts
Archived
This topic is now archived and is closed to further replies.