![Smile :)](./images/smilies/icon_smile.gif)
thanks in advance
F
Hehe... I use "-" in Mysql DB-name... I renamed from "i-develop" to "idevelop", removed last include (include (PHPWCMS_ROOT.'/include/inc_module/mod_exdata/main.default.php'); ) and work fine!breitsch wrote:@paal
there seems to be a problem with that. i will fix that in the next version.
for now:
once you have installed ExData mod make this your include\inc_module\mod_exdata\main.inc.php file:
so it won't check every time you enter if the mod is already installed or not (in your case you can be sure that it is).Code: Select all
<?php // calendar modules... // get needed files include (PHPWCMS_ROOT.'/include/inc_module/mod_exdata/app-header.php'); include (PHPWCMS_ROOT.'/include/inc_module/mod_exdata/inc_tmpl/header.php'); include (PHPWCMS_ROOT.'/include/inc_module/mod_exdata/main.default.php'); ?>
With this change it will work fine!
No helps or ideas?frold wrote:![]()
![]()
![]()
another thing
![]()
![]()
![]()
I have a php files in the root called articles.php
How do I include you script in a that file?
I tried to insert:
require_once ('include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php');
But that wasnt enough...
I would really like to reuse the entered ExData Entries in that file...
Code: Select all
include ("config1.php"); // contains sql and other needs.
Code: Select all
// table names
require_once ($_SERVER['DOCUMENT_ROOT'].'/config/phpwcms/conf.inc.php');
$prefix = $phpwcms["db_prepend"].'_';
then I change the id of the second Category from 2 to 1 in exd_categories and exd_cat_dat with phpMyAdmin manually.Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC' at line 1SELECT * FROM 124_phpwcms_exd_entries as entries WHERE catid=1 AND approved=1 ORDER BY ASC
Hi picopico wrote: Is this normal ? or did I something wrong in installation? or is it a 'Feature'
Code: Select all
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'implication de la Cocof dans les programmes de revitalisation urbaine.', '', '',' at line 1error: file /home/www/1aa54f01c43a/web/srdu/include/inc_module/mod_exdata/inc_lib/exdata.classes.php
line 274
sql: INSERT INTO _phpwcms_exd_entries (date, catid, field1, field2, field3, field4, field5, field6, field7, field8, approved, userId) VALUES ('2005-09-16', 1, 'Cocof', 'RBC', 'Suivi de programme', ' Accompagnement et information pour renforcer l'implication de la Cocof dans les programmes de revitalisation urbaine.', '', '', '', '', 1, 5)