I installed the newest version you sent me recently, and it was working fine, however, it has started producing this error on trying to validate new links. Any ideas how to fix it?
When trying to validate a link that was submitted, I get this error: Fatal error: Cannot access empty property in /home/tennesse/public_html/directory/admin/index.php on line 277
That sounds like the PHP 5.0.5 compatability issue that was fixed back around 3.3.8. Please confirm the actual version number you're using. It can't be the latest actually since that line number doesn't correspond to anything that could produce the message in 3.3.9... so upgrade.
Please copy and paste in the future, but I'll presume you mean onelink.php... which doesn't actually have any line that could be related there, but I suppose it could be the Windows issue where Windows seems to count line number oddly.
No such error in 5.0.5. 5.1 is finally available for debian so I'll upgrade to it and see.
Edit: No problems with PHP 5.1.2. What sort of unique circumstance might you have causing fields to go blank?
But I install again old version MySQL 4 and PHP 4 and now no problem. When I will have time I try install MYSQL 5 and PHP 5 and write all errors again.
You cannot possibly have a real original message saying "classes\online.php" when there is no such file as oneline.php. It's a PHP error message being generated by the file listed, so a non-existant file can't generate an error. Unless you've specially created and uploaded your own oneline.php file.
On the validation page when I try to access the link edit page of pending link edits only I get this:
Fatal error: Cannot access empty property in /home/linklou/public_html/edit.php on line 697
regular NEW submissions work fine.
BTW, is there a way to prevent default CSS styles to be added to my styles when upgrading? I don't overwrite the templates or styles when upgrading, but everytime I have to remove newly added style definitions for links i.e. to have my styles show up again.
Comments on Cannot access empty property
Experienced
Usergroup: Customer
Joined: Sep 06, 2004
Location: Tennessee, USA
Total Topics: 12
Total Comments: 56
I installed the newest version you sent me recently, and it was working fine, however, it has started producing this error on trying to validate new links. Any ideas how to fix it?
Becky
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It can't have given you a message about language.php on validating links. Please tell me the actual error you're getting.
Experienced
Usergroup: Customer
Joined: Sep 06, 2004
Location: Tennessee, USA
Total Topics: 12
Total Comments: 56
Hi Paul,
When trying to validate a link that was submitted, I get this error: Fatal error: Cannot access empty property in /home/tennesse/public_html/directory/admin/index.php on line 277
Thank you,
Becky
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That sounds like the PHP 5.0.5 compatability issue that was fixed back around 3.3.8. Please confirm the actual version number you're using. It can't be the latest actually since that line number doesn't correspond to anything that could produce the message in 3.3.9... so upgrade.
Experienced
Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Comments: 82
Hallo Paul,
I have install version 3.39, not upgrade, with PHP 5.1.1 and MySQL 5.0.18 and after install display on index this:
Fatal error: Cannot access empty property in C:¶rogram Files\xampp\htdocs\wsn339\classes\online.php on line 38
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Please copy and paste in the future, but I'll presume you mean onelink.php... which doesn't actually have any line that could be related there, but I suppose it could be the Windows issue where Windows seems to count line number oddly.
No such error in 5.0.5. 5.1 is finally available for debian so I'll upgrade to it and see.
Edit: No problems with PHP 5.1.2. What sort of unique circumstance might you have causing fields to go blank?
Experienced
Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Comments: 82
Paul,
I always copy, this is original message.
But I install again old version MySQL 4 and PHP 4 and now no problem. When I will have time I try install MYSQL 5 and PHP 5 and write all errors again.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You cannot possibly have a real original message saying "classes\online.php" when there is no such file as oneline.php. It's a PHP error message being generated by the file listed, so a non-existant file can't generate an error. Unless you've specially created and uploaded your own oneline.php file.
Experienced
Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Comments: 82
Paul,
I find file online.php. There is in folder CLASSES (in original zip archiv).
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I guess I need glasses. Still can't duplicate, but presumably this change would prevent the unreproducible error.
Attached Files:
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
I get the same error:
upgraded to PHP 5.1.6 and WSN Links 4.0.4
On the validation page when I try to access the link edit page of pending link edits only I get this:
Fatal error: Cannot access empty property in /home/linklou/public_html/edit.php on line 697
regular NEW submissions work fine.
BTW, is there a way to prevent default CSS styles to be added to my styles when upgrading? I don't overwrite the templates or styles when upgrading, but everytime I have to remove newly added style definitions for links i.e. to have my styles show up again.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Change that line from to
BTW, is there a way to prevent default CSS styles to be added to my styles when upgrading?
Only by making dummy empty css classes. I'll see about a checkbox.