Page 1 of 1

Notice: Undefined property: stdClass::$deletelink

Posted: Fri Mar 29, 2013 4:16 pm
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

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

Posted: Fri Mar 29, 2013 5:29 pm
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

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

Posted: Fri Mar 29, 2013 5:52 pm
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