coloryan Posted April 15, 2008 Share Posted April 15, 2008 I recently changed hosts and moved all my sites to a new server. However, on both of my OSCommerce sites, the links no longer work. Has anyone experienced this before? Is there a setting that I forgot? One of my sites is www.ShanghaiBagel.com. If anyone has experience, please help! I've already sifted through the config file, browsed several message boards, and contacted a couple of friends. To clarify, I think the problem is with this bit of code: "tep_href_link" Link to comment Share on other sites More sharing options...
photofxplus Posted April 15, 2008 Share Posted April 15, 2008 I took a look at the source code of your home page - its pretty messed up.. I see html code as: <table cellspacing=0 cellpadding=0 width=100% height=100%> Should be: <table cellspacing="0" cellpadding="0" width="100%" height="100%"> Also all the <a href=> are blank. Thats a good reason why your links are dead. The function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { Also checks for errors if the link cannot be created. These errors should display as: Error! Unable to determine the page link! Or: Error! Unable to determine connection method on a link! If you are not seeing this then I would not think it is the function. Plus - there is nothing there.. May be a missing or multiple missing echo statements in your code. Lloyd Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2008 Share Posted April 15, 2008 I took a look at the source code of your home page - its pretty messed up..I see html code as: <table cellspacing=0 cellpadding=0 width=100% height=100%> Should be: <table cellspacing="0" cellpadding="0" width="100%" height="100%"> I've been seeing that a lot lately. Not good Link to comment Share on other sites More sharing options...
photofxplus Posted April 15, 2008 Share Posted April 15, 2008 I've been seeing that a lot lately. Not good Whats it about?? Lloyd Link to comment Share on other sites More sharing options...
coloryan Posted April 16, 2008 Author Share Posted April 16, 2008 Whats it about?? Any suggestions where I can look to fix it? It's pretty frustrating for me... as it was working well on my old host, now it's been zapped. Link to comment Share on other sites More sharing options...
coloryan Posted April 16, 2008 Author Share Posted April 16, 2008 I've been seeing that a lot lately. Not good Okay, after some more reading I've changed one setting: this: define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' this: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' And now I get this: Warning: The sessions directory does not exist: /var/lib/php/session. Sessions will not work until this directory is created. Does this clear anything up? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.