Author Topic: Solved - Error that is not really a problem  (Read 3457 times)

0 Members and 1 Guest are viewing this topic.

Offline iceman2210

  • Pre-Newbie
  • Posts: 3
    • View Profile
Solved - Error that is not really a problem
« on: April 01, 2008, 08:22:36 PM »
I have the current version of 4images. Upgraded from 1.7.4 and I now have 1.7.6.

Every page that i open right now I get this error message in IE at the bottom left (attached error), but it doesn't affect the site at all.
If I do a refresh the error goes away.

I get this on every link i click on except for the admin panel.

The error is on the same line also: line 49.

Which is:

Code: [Select]
47   include(ROOT_PATH.'includes/page_header.php');
48
49   if (!empty($template)) {
50   $clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_", " ", ucfirst($template));
51   $site_template->register_vars("clickstream", $clickstream);
52   $site_template->print_template($site_template->parse_template($main_template));

Any one have an idea way this is happening???


« Last Edit: April 01, 2008, 10:11:48 PM by iceman2210 »

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Error that is not really a problem
« Reply #1 on: April 01, 2008, 09:00:58 PM »
hi

this are correct lines 47-52
Code: [Select]
include(ROOT_PATH.'includes/page_header.php');

if (!empty($template)) {
  $clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_", " ", ucfirst($template));
  $site_template->register_vars("clickstream", $clickstream);
  $site_template->print_template($site_template->parse_template($main_template));
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline iceman2210

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Error that is not really a problem
« Reply #2 on: April 01, 2008, 09:35:19 PM »
hi

this are correct lines 47-52
Code: [Select]
include(ROOT_PATH.'includes/page_header.php');

if (!empty($template)) {
  $clickstream = "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_", " ", ucfirst($template));
  $site_template->register_vars("clickstream", $clickstream);
  $site_template->print_template($site_template->parse_template($main_template));

Yeah that is what I have. The code was not correct in my first post.

So, why am I getting this error???

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Error that is not really a problem
« Reply #3 on: April 01, 2008, 09:53:19 PM »
ohh..... :)

problem is the title
Strickler's Photos..

lets look where is the solution..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline iceman2210

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Error that is not really a problem
« Reply #4 on: April 01, 2008, 10:10:56 PM »
ohh..... :)

problem is the title
Strickler's Photos..

lets look where is the solution..

ggeessss!  :roll:

Something so small which I completely overlooked.

That was it!

Thanks.