Post by paulf123 » Wed Jun 29, 2011 3:18 am

I did something somewhere and have too many changes to roll back (not organized :( )

For some reason I cannot get my site to render (even just main page) I get objext expected errors in at:

$(document).ready.....

Will pay for help.

thx!

New member

Posts

Joined
Sun May 15, 2011 5:51 am

Post by paulf123 » Wed Jun 29, 2011 3:19 am


New member

Posts

Joined
Sun May 15, 2011 5:51 am

Post by Xsecrets » Wed Jun 29, 2011 3:54 am

check to see if you removed this line in your header.tpl the one in your theme folder if you are not using the default theme.

Code: Select all

<base href="<?php echo $base; ?>" />

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by paulf123 » Wed Jun 29, 2011 3:57 am

cancel that lol

New member

Posts

Joined
Sun May 15, 2011 5:51 am

Post by paulf123 » Thu Jun 30, 2011 10:16 am

well I am back to this thread; I am willing to pay to figure this out.

Code: Select all

<base href="<?php echo $base; ?>" /
was indeed the problem. For some reason $base is not being set so when IE7 sees

Code: Select all

<base href="" />
it is not liking that

HTTP_SERVER constant is correctly set but for some reason $base is not



even though things work OK and I just hardcoded the value, I don't like things not working the way they were made.

HTTP_SERVER is correctly defined. $base however is not set. catalog/controller/common/header.php is intact with:

Code: Select all

if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) {
			$this->data['base'] = HTTPS_SERVER;
		} else {
			$this->data['base'] = HTTP_SERVER;
		
		}
:( thx

New member

Posts

Joined
Sun May 15, 2011 5:51 am

Post by paulf123 » Wed Jul 06, 2011 3:45 am

$ ?

New member

Posts

Joined
Sun May 15, 2011 5:51 am

Post by abutani » Wed Jul 06, 2011 4:43 am

I can help with this. Please email back at abutani79@gmail.com to discuss further.

New member

Posts

Joined
Thu Jun 23, 2011 9:23 am
Who is online

Users browsing this forum: paulfeakins and 13 guests