EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: ClausG on February 15, 2013, 10:48:15 am

Title: Serveral error in log of SMF after installing ezPortal
Post by: ClausG on February 15, 2013, 10:48:15 am
Hello,

after installing the version 0.6.6a of ezPortal in my SMF 1.1.18 installation the webpages are looking pretty and there are no visible errors.

But the error log shows some errors:

1) errors after posting/remove postings from the shoutbox:
   
 Claus    today 17:40:03
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxx.de/index.php?action=ezportal;sa=removeshout;shout=31
 Unable to load 'main' template
   
 Claus    today 17:39:52
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxx.de/index.php?action=ezportal;sa=addshout
 Unable to load 'main' template


2) errors after accessing/working the admin area of ezportal:

 Claus    today 17:39:52
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxxxxxx.de/index.php?action=ezportal;sa=settings
 8: Undefined index: ezp_disable_tinymce_html
 File: /usr/www/users/xxxx/forum/Themes/default/Admin.template.php (ezportal_settings sub       
 template - eval?)
 row: 204
   
 Claus    today 17:42:42
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxxxxxxxxxxxxxxx.de/index.php?action=ezportal;sa=settings
 8: Undefined index: ezp_import
 file: /usr/www/users/xxxx/forum/Sources/EzPortal.php
 row: 1375

I checked the files and also removed the ezPortal mod; but even after a new installation the same errors appears.

I use the SMF standard theme and have no additional mod installed. The SMF runs with German language files, also the EzPortal is installed with German language support.

Can anyone help me? I used the search function and find out, that other SMF users reported such issues, but there was no final solution to be found.

Thank you and kind regards

Claus
Title: Re: Serveral error in log of SMF after installing ezPortal
Post by: EzPortal on February 15, 2013, 10:42:35 pm
1st step we need to do is find the true error numbers mainly for ezp_disable_tinymce_html and ezp_import

Run this code on your database
Code: [Select]
INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);


I think for #2 if you are using the german translation you might be missing some text strings which are found in the english language files for ezPortal
Title: Re: Serveral error in log of SMF after installing ezPortal
Post by: ClausG on February 16, 2013, 01:07:29 am
#1: Thank you for the fast reply. I used the given code on the database and it was accepted; so template evaluation is now disabled.

#2: I changed the forum language from German to English - and all errors after accessing/working the admin area of ezportal were gone. After change the language back to German these error msgs. returned.

So, I modified the two files from German language pack  EzPortal.german.php and EzPortal.german-utf8.php an I inserted this code in row 55:

$txt['ezp_disable_tinymce_html'] = 'TinyMCE abstellen';

wich is the Geman translation for "disable TinyMCE editor". After uploading these modfied language files these error-msgs. are gone now.

OK - I still get these two error msgs. after using the shoutbox, no matter wich forum language is active:

 Claus    today 17:40:03
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxx.de/index.php?action=ezportal;sa=removeshout;shout=31
 Unable to load 'main' template
   
 Claus    today 17:39:52
 79.249.71.xxx      378a4415c6a5dce5b0f37e04420d13fa
 http://xxxxxxxxxxxx.de/index.php?action=ezportal;sa=addshout
 Unable to load 'main' template


Thank you.
Title: Re: Serveral error in log of SMF after installing ezPortal
Post by: EzPortal on February 17, 2013, 11:21:23 pm
Fixed the two error messages in the latest update

0.6.7
!Fixed undefined errors when adding or deleting a shoutbox message
Title: Fixed: Re: Serveral error in log of SMF after installing ezPortal
Post by: ClausG on February 18, 2013, 09:36:05 am
Thank you - itīs all fixed now. Great support, very fine MOD.  :D
Title: Re: Serveral error in log of SMF after installing ezPortal
Post by: EzPortal on February 18, 2013, 09:40:52 am
Glad you enjoy it!