Notice: Undefined property: stdClass::$deletelink

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
mebots
Forum Members
Forum Members
Posts: 44
Joined: Sun May 23, 2010 10:22 pm

Notice: Undefined property: stdClass::$deletelink

Post by mebots »

Hello,

Have upgrade to 1.11.5, after that I get following error in tinymce -> insert image -> browse for images.

Notice: Undefined property: stdClass::$deletelink in D:\www\xxx.com\www\tmp\templates_c\TinyMCE^16e7fa5eb8da72a02823dbbd09c85217881fdbf4.module_file_tpl.TinyMCE;filepicker.tpl.php on line 186

It shows up only ad the folders, not the images. (see attached image)

How to solve this?

tia

Martijn
Attachments
29-3-2013 17-13-14.jpg
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Notice: Undefined property: stdClass::$deletelink

Post by Rolf »

Do you use the default cmsms .htaccess file in the root of your site?
Remove the # before these lines:
#php_flag display_startup_errors 0
#php_flag display_errors 0
#php_flag html_errors 0
#php_value docref_root 0
#php_value docref_ext 0
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mebots
Forum Members
Forum Members
Posts: 44
Joined: Sun May 23, 2010 10:22 pm

Re: Notice: Undefined property: stdClass::$deletelink

Post by mebots »

Hello Rolf,

Tank you for your quick answer,

Have solve it, to modify the filepicker.tpl in the tinymce template folder.

on line 99 was written this

<td width="1%">{$file->deletelink}</td>

have modify it to:

<td width="1%">{if isset($file->deletelink)}{$file->deletelink}{/if}</td>

Now the error is gone.

maybe not the good solution, but it works.

Nogmaals bedankt Rolf.

Martijn
Post Reply

Return to “The Lounge”