leshowlett Posted July 31, 2003 Posted July 31, 2003 I have installed (seemingly ok) and managed to get both the admin and store pages up... if i go anywhere on either page it will normally go to a blank page with the correct url in the address bar, but no source code and nothing displayed on screen... If I leave it for a while and come back to the page (both admin and store) later on it will appear ok, but then it goes blank when i refresh or try to click on anything. Is this an install problem or is it a problem with my host. I have just changed from CPanel to DirectAdmin with my host if that helps. I am not sure what to check now.. can anyone suggest anything? :bigups:
leshowlett Posted July 31, 2003 Author Posted July 31, 2003 I have tried accessing the pages no under ie6, netscape and opera, and they all do the same, sometimes the page is there... sometimes it isnt!
leshowlett Posted July 31, 2003 Author Posted July 31, 2003 Sorry - should have posted that before! :? http://www.howlets.co.uk/catalog
leshowlett Posted July 31, 2003 Author Posted July 31, 2003 let me know if you want to have a look at the admin side of things and i'll email you the id and password...
leshowlett Posted July 31, 2003 Author Posted July 31, 2003 This is in my apache error log... [Thu Jul 31 17:22:17 2003] [error] PHP Fatal error: Call to a member function on a non-object in /home/howlet01/domains/howlets.co.uk/public_html/catalog/includes/application_top.php on line 310 [Thu Jul 31 17:25:15 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:15 2003] [error] PHP Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:16 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:16 2003] [error] PHP Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:18 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:18 2003] [error] PHP Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 [Thu Jul 31 17:25:25 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/includes/application_top.php on line 286 [Thu Jul 31 17:25:25 2003] [error] PHP Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/howlet01/domains/howlets.co.uk/public_html/catalog/includes/application_top.php on line 286 [Thu Jul 31 17:25:27 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/includes/application_top.php on line 286 [Thu Jul 31 17:25:27 2003] [error] PHP Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/howlet01/domains/howlets.co.uk/public_html/catalog/includes/application_top.php on line 286 Now all i need to do is work out whats wrong with it! ;)
leshowlett Posted August 1, 2003 Author Posted August 1, 2003 ok - i reran the install.php and double checked all my server paths and they are all correct - yet the pages still come and go. From the log files it would appear that its trying to find a file? PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directoryPHP Fatal error: Call to a member function on a non-object in /home/[snip]/public_html/catalog/includes/application_top.php on line 310 I cannot find where this is being referenced from. Is it a setting in the config files somewhere? the language files are there, and I have even tried a complete re-install but still it keeps falling over. :(
leshowlett Posted August 4, 2003 Author Posted August 4, 2003 I have posted this same thread on my host support forum and have had some interesting comments... Well it looks to me like you are not recieving some variables to the page example: [Thu Jul 31 17:25:15 2003] [error] PHP Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/howlet01/domains/howlets.co.uk/public_html/catalog/admin/includes/application_top.php on line 132 the file that is being included should be (includes/languages/english.php) or whatever language you are using. The language is not being set for some reason, it could be that the spoof globals_on wossit is not working on the server setup, or maybe it doesn't work correctly for MS2. If you only intend to use one language you can hard code catalog/includes/application_top.php on line 286 to include the english file only. Which I have done... but I still get the same blank page problem... Very strange, I looked at the oscommerce site you installed. The first time i view the page everything is ok. If i navigate to another page, then i get a blank page. If i close the browser window, and go back i can see the first page again. However when i refresh this page, i see a blank again. So, i copied the url of the link that i clicked (the movies category), closed the browser window, and pasted that url into the address bar, blank page. The next thing that i did was remove the osCsid parameter from the url string. QUOTE http://www.howlets.co.uk/catalog/index.php?cPath=1 i loaded this into a new browser widow, i could see the content. I clicked another link, blank page. Sooooo... It looks like there is a problem with the session id being passed from page to page. I have to admit to not knowing how to solve this problem, but you at least know WHAT the problem is. Have a look on the osC forums, for problems with MS2, register_globals = off, and those extensions that you added as the solution. I am sure that someone else will have had this problem. So... has anyone else has this problem? :wink:
leshowlett Posted August 4, 2003 Author Posted August 4, 2003 I have set the session ID store to "files" rather than database and the site is now viewable! Now I have noticed another problem The links on the left are trying to link to http://www.howlets.co.ukdir_ws_http_catalogindex.php/?cPath=1 I am assuming that the dir_ws_http_catalog part is referring to a directory.. I have looked through configure.php and cant find this set anywhere... I have found define('DIR_WS_CATALOG', '/catalog/'); // absolute path required which seems too similar to be a coincidence. I added a line beneath this defining the dir_ws_http_catalog and uploaded this file, but it didnt change the hyperlinks at all... is there anywhere else that variables are defined??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.