Start ::
Extensions and Distributions Support ::
Modules ::
Problem Initilializing module
Moderated by: Support Team
-
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
@infopro It's a coding question... I'll field this one.
@destruct It's fairly difficult to read code of the forums. What I would do as a debug is to put an echo $SQL after each SQL statement is formed. This will give you the SQL that is being executed. This will allow you to either spot an instant problem with the pntables array or your forming of the SQL. If you can't spot anything at this stage then you've got the SQL so paste this into phpMyAdmin and you may get some extra information here.
-Mark
-Mark -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 03.10.08
- Posts:
- 13410
-Mark
-Mark
????
didnt know you were skitzophrenic mate
-----
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- July 2003
- Status:
- offline
- last visit:
- 17.07.03
- Posts:
- 4
Well I had tried that Mark but the problem was I wasn't getting an error, it was telling me it was initializing just fine although tables weren't appearing. I figured out problem was I missing the // on a line which should have been commented and that at least got me to the stage where I could view the SQL. I player around with the SQL and fgiured out that this line:
was causing me problems. I changed it to:
And it worked fine. What I do find confusing is that before making this change, the SQL statement was executing just fine in phpMyAdmin but it just wouldn't work on site. WOnder why that is. -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
Reallly dificult to tell without having your code in front of me. The text wrapping on these forums really doesn't make this kind of diagnostic easy.
Feel free to shoot be a copy of the code to markwest at PostNuke dot com as i'll take a further look.
-Mark
Start ::
Extensions and Distributions Support ::
Modules ::
Problem Initilializing module
