ConLite

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Backend
  • Assigned To
    Ortwin Pinke
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version ConLite 2.0 Beta2
  • Due in Version ConLite 2.0.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: ConLite
Opened by Anonymous Submitter - 27.11.2012
Last edited by Ortwin Pinke - 27.11.2012

FS#80 - Syncing all modules causes errors in modules which have no files

After syncing all modules in a new installation with one new module (the only one with a file), the news module has an error in line 104.
Line 103+ now are:

              $regEx = "/(src)(=)(['"]?)([^"']*)(['"]?)/i";
              $img = array ();
              preg_match($regEx, $match[0], $img);
              $img_src = preg_split("///", $img[0]);
              $img_name = $img_src[count($img_src) - 1];
              $img_name = preg_replace("/"/", "", $img_name);
              $img_split = preg_split("/./", $img_name);
              $img_type = $img_split[count($img_split) - 1];
              $img_split2 = preg_split("/_/", $img_split[0]);

The page “Was ist Contenido” shows the following error message:
Parse error: syntax error, unexpected ‘]’ in /kunden/92791_33034/rp-hosting/159000014/259000016/ConLite/cms/front_content.php(928) : eval()’d code on line 429

Closed by  Ortwin Pinke
27.11.2012 21:10
Reason for closing:  Fixed
Additional comments about closing:  

We only save input or output if it is from file while sync to db now.

Project Manager
Ortwin Pinke commented on 27.11.2012 17:58

Did you try that also with the news-modul in filesystem? Maybe it is a problem while saving the module and the preg stuff and not with syncing.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing