Webmastersite.net
Register Log In

Edit link doesn't work

Comments on Edit link doesn't work

emmeten
Member

Usergroup: Customer
Joined: Nov 17, 2008

Total Topics: 14
Total Comments: 35
emmeten
Posted Jan 13, 2009 - 2:11 AM:

Hi Paul,

after upgrading to 5.0.29 the edit link does not work, I get error 500... so I had to downgrade to 5.0.28!
tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Posted Jan 13, 2009 - 7:58 AM:

Likewise.

Error:

PHP Parse error: syntax error, unexpected T_STRING in ~/main/includes/editlink.php on line 389, referer: http://www.tradenet.com/main/17


There's a missing bracket replace that line with this or put in the missing bracket after $oldfilename) ie. there should be two brackets as below:

if (file_exists($theuploadpath .'unmarked_'. $oldfilename)) unlink($theuploadpath .'unmarked_'. $oldfilename); // del


in file ~/includes/editlink.php on line 389
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 14, 2009 - 6:18 PM:

Fixed for 5.0.30.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.