Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get the default layout

Status
Not open for further replies.
Aug 22, 2007
45
CA
I added some lines of code to the css file,
The layout looked terible.
So I decided to replace the css file with the original code and I replaced the index with the original code.
My layout still looks terible.
what happened.
I can't even get the default layout I got originally.
Thanks
 
WOW - too many unknown variables!!!

I would say, start by deleting your cache. Then I would make sure you are referencing the correct file(s). Just because you "replaced the css with the original code" doesn't mean you are looking at the updated code. Also, is this on your PC locally, or on an internet server?

Please clear up the unknowns and we might be able to help you.

Einstein47
There are no kangaroos in Austria!
[[]Starbase47.com]
 
Hi Einstein47 !
Thanks for your reply.
It is on the internet server.
It I tried to go to the cache.
But I could not. I have internet explorer.
I have goned to the cache in other cases .
Thanks
 
I deleted the code on the index page and I repasted the same code back to index.
Now I am getting this message.

Fatal error: Call to undefined function: tep_get_languages on line 58
What is going on here.
 
Are you supposed to be touching this code? It looks like an error in the php script.

So far you have provided no real data for us to evaluate, just some vague cries of how things look terrible (where I am sure you will agree that terrible could be a subjective thing). Either you actually start giving us all the information or you ask someone in your office to have a look.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
The site was working and now it is not and I deleted the original index that was configured to make the right connections.
This is a php site.
Here is line 58

if ($category_depth == 'nested') {
$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");
$category = tep_db_fetch_array($category_query);
 
If you're experiencing PHP problems, you should ask about them in forum434.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top