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
It would seem your file path to your attachments directly is not correctly recorded in your settings. Possibly just missing the leading / or something.
Comments on Parse error
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
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????
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
OK - but how do I go about fixing this?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
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???
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It would seem your file path to your attachments directly is not correctly recorded in your settings. Possibly just missing the leading / or something.
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
thanks - seems to be okay now