Edit pages of popup pro not working since update

Permalink Browser Info Environment
Hi, I really love the add-on. Unfortunately with the current version I cannot edit (new or exisiting block) the settings any more. Please see the attached screenshot:
- the first tab ist incomplete
- all the other tabs are completely empty

I would really appreciate some help since I need to edit the blocks to keep the site up-to-date.

Thanks in advance :-)
Jürg

PS: My Environment:
# Version von concrete5
5.6.2.1

# concrete5-Pakete
301 Redirects (2.2.1), Advanced Forms (1.10), Area Splitter (2.1), Automatic Email Obfuscator (1.2.3), Data Display (2.5.2), Designer Content (3.1.1), Dojo Folio Slider (1.5.1), Front End Uploader (1.4.0.1), Gallerific (1.1.11), List files from set (1.0.4), Magic Tabs (1.1.0.1), Mailings (2.44), MindNet Browser Update Notification (1.1), MindNet Optimize MySQL database (1.11), Nontab Scheduler (1.1), Page Redirect (1.4), Page Selector Attribute (1.1), Popup Pro (1.6.6.1), Power Slider Lite (1.1.1), Print my page (1.0.3), Registrant Group (1.1), Sortable Fancybox Gallery (1.17), Stickies (1.2.3), Whale Nivo Image Slider (1.1), WordPress for Concrete5 (1.6.0).

# concrete5-Overrides
blocks/home_pic_two_col, blocks/list_files_from_set, blocks/wordpress_entries, blocks/jl_magic_tabs, blocks/jb_gallerific, controllers/register.php, elements/profile, languages/de_DE, libraries/change_notifications.php, mail/validate_user_email.php, mail/user_import_welcome.php, mail/forgot_password.php, single_pages/profile, single_pages/register.php, single_pages/login.php.bak, themes/stami_theme

# Server-Software
Apache

# Server-API
apache2handler

# PHP-Version
5.3.27

# PHP-Erweiterungen
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dbase, dom, ereg, exif, fileinfo, filter, ftp, gd, geoip, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, ming, mysql, mysqli, openssl, pcre, pdf, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, suhosin, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP-Einstellungen
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 50
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 1000
memory_limit - 128M
post_max_size - 50M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 50M
ldap.max_links - Unlimited
mysql.max_links - 50
mysql.max_persistent - 5
mysqli.max_links - 50
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 400
suhosin.cookie.max_array_index_length - 256
suhosin.cookie.max_name_length - 256
suhosin.cookie.max_totalname_length - 512
suhosin.cookie.max_value_length - 20000
suhosin.cookie.max_vars - 600
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 300
suhosin.get.max_array_depth - 400
suhosin.get.max_array_index_length - 512
suhosin.get.max_name_length - 256
suhosin.get.max_totalname_length - 512
suhosin.get.max_value_length - 1024
suhosin.get.max_vars - 800
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 128M
suhosin.post.max_array_depth - 400
suhosin.post.max_array_index_length - 256
suhosin.post.max_name_length - 256
suhosin.post.max_totalname_length - 512
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 800
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 256
suhosin.request.max_totalname_length - 512
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 256
suhosin.request.max_vars - 800
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 300

1 Attachment

Type: Discussion
Status: New
View Replies: View Best Answer
jb1 replied on at Permalink Reply
jb1
Hi

Have you tried redownloading the files, there might be some missing files that weren't installed. Also is your C5 updated from a previous version?

JZ
Juerg replied on at Permalink Reply
Thanks for the answer.

I re-downloaded the add-on and on a local copy of my site I even removed Popup-Pro completely and re-installed. Still now difference.

And yes, I updated C5 several times already. The last time from 5.6.1.2 to 5.6.2.1.

Thanks again for looking into it.

Jürg

BTW, the site isthttp://www.stami.ch. The video on the starting page is one of the uses of Popup-Pro.
jb1 replied on at Permalink Reply
jb1
Hi

It looks like a problem with the update. Have you tried testing it in a new C5 install? It might be because of the updated files that has caused this.

JZ
Juerg replied on at Permalink Reply
I finally found the piece of code which is causing the error:
In form_setup_html.php
...
<?php    
   Loader::element('editor_init');
   $editor_mode = Config::get('CONTENTS_TXT_EDITOR_MODE');
   Loader::element('editor_config', array('editor_mode' => $editor_mode, 'editor_selector' => 'ccm-advanced-editor-directcontent'));
   Loader::element('editor_controls', array('mode'=>'full'));
   echo  $form->textarea(
            'directcontent', 
            $directcontent, 
            array('class' => 'ccm-advanced-editor-directcontent', 
            'style' => 'width: 590px')
         ); 
?>
...

This piece of code seems to prevent the rest of the file from being rendered. If I remove the above code it works (besides the simple content of course). There is no exception thrown (tried a try/catch with output and there was also nothing in the log files).
Any ideas what could be wrong with my site?
Thank you and best regards
Jürg
jb1 replied on at Permalink Reply
jb1
Hi Jürg,

It looks like a problem with your text editor, which might be affected by your C5 update. Can you send me your ftp details so I can test the changes to your site via PM is fine.

JZ
Juerg replied on at Permalink Best Answer Reply
Yes! I found out, what caused the problem. I installed Eclipse and the PHP debugging environment and started digging.

My site has a special structure
home
- HOME
   - Starting Page
   - ...
- SERVICE
   - ...
- ...

My toplevel home uses an attribute which causes a redirect to "Starting Page". Now editor_config.php in concrete/elements tries to find the Site-Theme by getting the page with CID==1, which is my "home" page. For some reason, the theme of that page was undefined and the code died right there without throwing an exception. Now I assigned a theme to "home" and everything works as expected :-).

Among the add-ons on my site (quite a view) yours seems to be the only one using editor_config.php. That's why the other add-ons using a rich-editor still worked.

Well, I'm happy now :-)

Thanks a lot for your answers and your offer to look into my site!

Best regards from Switzerland
Jürg

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.