Webmastersite.net
Register Log In

Cannot access empty property

Comments on Cannot access empty property

wildflowerintn
Experienced

Usergroup: Customer
Joined: Sep 06, 2004
Location: Tennessee, USA

Total Topics: 12
Total Comments: 56
Posted Mar 12, 2006 - 11:14 AM:

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
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 12, 2006 - 2:56 PM:

It can't have given you a message about language.php on validating links. Please tell me the actual error you're getting.
wildflowerintn
Experienced

Usergroup: Customer
Joined: Sep 06, 2004
Location: Tennessee, USA

Total Topics: 12
Total Comments: 56
Posted Mar 13, 2006 - 10:19 AM:

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
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 13, 2006 - 7:41 PM:

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.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 14, 2006 - 4:01 AM:

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
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 15, 2006 - 12:58 PM:

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?
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 16, 2006 - 1:14 PM:

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.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 18, 2006 - 2:30 PM:

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.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 19, 2006 - 2:47 PM:

Paul,

I find file online.php. There is in folder CLASSES (in original zip archiv).

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted Mar 20, 2006 - 2:52 AM:

I guess I need glasses. Still can't duplicate, but presumably this change would prevent the unreproducible error.

Attached Files:
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
#11 - Quote - Permalink
Posted Nov 02, 2006 - 9:19 AM:

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.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Nov 02, 2006 - 4:24 PM:

Change that line from
        thislink->$parts[0] = $parts[1];
to
        if ($parts[0]) $thislink->$parts[0] = $parts[1];


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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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