Webmastersite.net
Register Log In

Parse error

Comments on Parse error

jem71
Member

Usergroup: Member
Joined: Jan 11, 2004

Total Topics: 9
Total Comments: 24
jem71
Posted Apr 03, 2005 - 7:54 AM:

Im getting this message on the details page.

Parse error: parse error in /home/httpd/vhosts/jeremy.lv/httpdocs/dpalbums/lat/classes/onelink.php(1036) : eval()'d code on line 1

Parse error: parse error in /home/httpd/vhosts/jeremy.lv/httpdocs/dpalbums/lat/classes/member.php(846) :

Any ideas how I can fix it????
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 04, 2005 - 10:47 AM:

It's your member rating formula and link importance formula. If you restored a backup from a pre-.14 version that's known to wreck them.
jem71
Member

Usergroup: Member
Joined: Jan 11, 2004

Total Topics: 9
Total Comments: 24
jem71
Posted Apr 04, 2005 - 3:56 PM:

OK - but how do I go about fixing this?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 04, 2005 - 6:30 PM:

Well, what are your formulas? Set them to something simple. For the image importance formula, the default is
$importance = ($this->hitsoutpermonth() + $this->numcomments) + 6
and for member rating you can use
$rating = $this->images + $this->comments
jem71
Member

Usergroup: Member
Joined: Jan 11, 2004

Total Topics: 9
Total Comments: 24
jem71
Posted Apr 05, 2005 - 12:38 AM:

Thanks for that - its fixed it... formulas were something I had never come across before!

I have another question and will ask here ( althoough might help being a new thread)

In my search results page the {previous}{next} list of pages seem to add this into the link code:

/home/httpd/vhosts/jeremy.lv/httpdocs

That means when I click on another page to view it the entire link is this:

www.jeremy.lv/home/httpd/vh...tion=and&page=4&perpage=14

whereas it should be :

www.jeremy.lv/dpalbums/lat/...tion=and&page=4&perpage=14

Ive tried looking everywhere to see what setting I might have wrong but they all seem to be okay.

Any ideas on this one???
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 05, 2005 - 9:21 PM:

It would seem your file path to your attachments directly is not correctly recorded in your settings. Possibly just missing the leading / or something.
jem71
Member

Usergroup: Member
Joined: Jan 11, 2004

Total Topics: 9
Total Comments: 24
jem71
Posted Apr 05, 2005 - 10:16 PM:

thanks - seems to be okay now
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.