I just changed host and having a couple problems with the script.
When I add a site to our data base it gives this error.
Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /usr/home/kj4700/domains/somedomail.com/bloggers/classes/onelink.php(1036) : eval()'d code on line 1
Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /usr/home/kj4700/domains/somedomain.com/bloggers/classes/member.php(846) : eval()'d code on line 1
Also, when I go into edit a link my category dropdown menu is empty. This all worked fine on the other host and our new host says they have all that is under your requirements.
Requirements: PHP 4.1.0+ (or PHP 5) and MySQL 3+. Any operating system (Linux, Windows, BSD, MacOS, etc).
That means there's a problem with the link importance formula and member rating formula. Admin Panel -> Settings-> Links and Admin Panel -> Settings -> Users. They both have an & in them I gather... that was a bug with the WSN backups a year or two ago, which matches the version you're using.
In the future, use phpmyadmin or the mysql command line to do your backups. (More recent WSN Links versions simply make a call to the mysql command line.)
Im sorry but I cannot figure out a fix from what you posted. Can you please give more details. Im not very good with scripts so I need this to be explained. I dont understand the fix in the post you made. Programmers may but im not experienced as you are. : )
Was going to edit my above post to add this hours ago, but the forum died. Anyhow, the default values I have there for the link and member formualas are $importance = ($this->hitsoutpermonth() + $this->numcomments) + 6 and $rating = ($this->links * 2) + $this->comments
Comments on Error
Member
Usergroup: Customer
Joined: May 31, 2004
Total Topics: 5
Total Comments: 15
Hey Paul,
I just changed host and having a couple problems with the script.
When I add a site to our data base it gives this error.
Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /usr/home/kj4700/domains/somedomail.com/bloggers/classes/onelink.php(1036) : eval()'d code on line 1
Parse error: syntax error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /usr/home/kj4700/domains/somedomain.com/bloggers/classes/member.php(846) : eval()'d code on line 1
Also, when I go into edit a link my category dropdown menu is empty. This all worked fine on the other host and our new host says they have all that is under your requirements.
Requirements: PHP 4.1.0+ (or PHP 5) and MySQL 3+. Any operating
system (Linux, Windows, BSD, MacOS, etc).
Thanks,
Ken
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That means there's a problem with the link importance formula and member rating formula. Admin Panel -> Settings-> Links and Admin Panel -> Settings -> Users. They both have an & in them I gather... that was a bug with the WSN backups a year or two ago, which matches the version you're using.
In the future, use phpmyadmin or the mysql command line to do your backups. (More recent WSN Links versions simply make a call to the mysql command line.)
Member
Usergroup: Customer
Joined: May 31, 2004
Total Topics: 5
Total Comments: 15
I done the latest upgrade which I have 3.3.15.
This error just started with this upgrade to 3.3.15
How do I fix this.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
By reading my above post where I told you the two pages of the admin panel to go to in order to fix the link importance and member rating.
Member
Usergroup: Customer
Joined: May 31, 2004
Total Topics: 5
Total Comments: 15
Hi Paul,
Im sorry but I cannot figure out a fix from what you posted. Can you please give more details. Im not very good with scripts so I need this to be explained. I dont understand the fix in the post you made. Programmers may but im not experienced as you are. : )
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Was going to edit my above post to add this hours ago, but the forum died. Anyhow, the default values I have there for the link and member formualas are
$importance = ($this->hitsoutpermonth() + $this->numcomments) + 6
and
$rating = ($this->links * 2) + $this->comments
Those work.
Member
Usergroup: Customer
Joined: May 31, 2004
Total Topics: 5
Total Comments: 15
Hi Paul,
Thanks for the update.