Posts by: creisi

Posts: 69
Post: 11941
Topic: Password Error
Do you have access to the server via FTP? Then you could download the directory "data" where all your content and configuration should be. After that, if you made a fresh install of Typesetter you can upload this directory, apart from users.php in the directory data/_site, because users.php contains password...
2 years ago
Post: 11938
Topic: Problem with Addon SitePageExtra

Oh, I've seen, that you reported the fix in the support-site. Maybe, I should have posted this problem in the support-site, too, because it actually refers more to the plugin than to typesetter 5.2?

Do you mean the code for the search form with "mask"? I have placed the code for the search form directly into the template:

<?php
$_REQUEST += array('q'=>'');
if(empty($_REQUEST['q'])) {
  $_REQUEST['q'] = '';
 }
 else {
   $_REQUEST['q'] = strip_tags($_REQUEST['q']);
}
?>
<form action="<?php echo \gp\tool::GetUrl('special_gpsearch') ?>" method="get">
  <input type="text" name="q" value="<?php echo htmlspecialchars($_REQUEST['q']) ?>" />
  <input type="submit" value="Suchen" name="suche" />
</form>

But because I have encountered other problems with search and SitePageExtra (deleted contents of SitePageExtra are shown in search results), I have deactivated search for SitePageExtra. Don't know, if this is a problem with the plugin or if I have messed up something. It's a rather big site and I have tested and changed a lot while developing...

2 years ago
Post: 11936
Topic: Problem with Addon SitePageExtra
You're great, mabu, it's working :-) I always tried to change line 44 in SitePageExtraGadget.php - never would have thought the solution lies in a class name. Thank you very much :-)
2 years ago
Post: 11933
Topic: Problem with Addon SitePageExtra
Dear mabu, that did the trick - thank you :-) Haven't encountered any side-effects yet. Although it doesn't solve the main problem, maybe I will get an idea how to change the plugin if I compare the changes in inline-editing.js. I will keep trying.
2 years ago
Post: 11931
Topic: Problem with Addon SitePageExtra
Thank you mabu. jquery migrate didn't help. I have also tried to edit the plugin - try and error without success. Don't know enough about Typesetter. Maybe a good reason to learn how to code for Typesetter CMS... Luckily, it's still working in the admin panel. And yes, I have installed it as a gadget (\gp\tool\Output::GetGadget('Site_Page_Extra1');)
2 years ago
Post: 11929
Topic: Problem with Addon SitePageExtra
Yes, it works in the admin panel, but not if you edit directly on the page.
2 years ago
Post: 11927
Topic: Problem with Addon SitePageExtra

There seems to be a problem with the addon SitePageExtra with 5.2. RC. Inline Editing is not possible: There was an error processing the last request. Please reload this page to continue.

Backtrace
Request http://xxx/Admin_SitePageExtra?file=m&position=1&gpreq=json&defined_objects=&cmd=inlineedit&area_id=6&section=undefined&_=1614970005452
Line 388
Column 61

Details
message editor_info.section.attr(...).match(...) is null
fileName http://xxx/include/thirdparty/js/jquery.js?v=5.2-rc line 2 > eval
Line-387 editor_info.section = gp_editing.get_edit_area($gp.curr_edit_id);
Line-388 var section_type = editor_info.section.attr('class').match(/filetype-\w*/gi).toString();
Line-389 editor_info.section_type = section_type.substring(section_type.indexOf('filetype-') + 9);
responseStatus 200
statusText OK
type GET
2 years ago
Post: 11926
Topic: php 8
I'm not sure I understand the code well enough to fix this ... I can try, but I don't have a problem if I have to wait half a year or a little longer either. By the way: do you know when RC52 will become stable?
2 years ago
Post: 11924
Topic: php 8

Just tried 5.2 RC with php 8.0.2-1 and there seems to be a problem in Output.php, got the following error message:

ExecInfo() Fatal Error: Unknown named parameter $page
    in: /include/tool/Output.php
    on line: 849
    time: 2021-03-04 09:05:58 (1614848758)
    REQUEST_URI: /Admin/Menu
    REQUEST_METHOD: GET
    REMOTE_ADDR: 127.0.0.1
Show Backtrace
array(
   [0] => array(
      [file] => (string)/include/tool/Output.php
      [line] => (integer)849
      [function] => (string)call_user_func_array
   )
   [1] => array(
      [file] => (string)/include/tool/Output.php
      [line] => (integer)822
      [function] => (string)ExecClass
      [class] => (string)gp\tool\Output
      [type] => (string)::
   )
   [2] => array(
      [file] => (string)/include/tool/Output.php
      [line] => (integer)769
      [function] => (string)_ExecInfo
      [class] => (string)gp\tool\Output
      [type] => (string)::
   )
   [3] => array(
      [file] => (string)/include/admin/Page.php
      [line] => (integer)256
      [function] => (string)ExecInfo
      [class] => (string)gp\tool\Output
      [type] => (string)::
   )
   [4] => array(
      [file] => (string)/include/admin/Page.php
      [line] => (integer)39
      [function] => (string)RunAdminScript
      [class] => (string)gp\admin\Page
      [type] => (string)->
   )
   [5] => array(
      [file] => (string)/include/tool/Output.php
      [line] => (integer)2263
      [function] => (string)RunScript
      [class] => (string)gp\admin\Page
      [type] => (string)->
   )
   [6] => array(
      [file] => (string)/include/main.php
      [line] => (integer)46
      [function] => (string)RunOut
      [class] => (string)gp\tool\Output
      [type] => (string)::
   )
)

 

Edited: 2 years ago
Post: 11898
Topic: PHP Version

Thank you mabu :-) If I turn on the debugging, I see a lot of notices when I try to login into Admin concerning less compiler. But no errors or notices in the frontend.

I'm more concerned about the security-problems with phpmailer... So if RC5.2 is production ready, updating might be a good idea...

2 years ago

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register