since i have upgraded to postnuke 750 my tix_archive mod doesnt work.
look at
http://www.senerap.org/modules.php?op=modload&name=TiX_Archives&file=index
the error is:
You have an error in your SQL syntax near '='eng' OR ='')' at line 1
Does anyone know a solution or know another mod with the same features as tix-archive from www.trollix.com which works on pn750???
tixarchive wasnt developed any more for about 2 years now...
thanks
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Tix_Archive and pn750
-
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
Here is the index.php that will work (most of it) with pn0.750...
(Do a backup just in case) and replace the index.php in the Tix_Archives folder :
http://www.pnconcept.com/projects/postnuke/fix/Tix_Archives_pn0.750_index.zip
(In action on http://www.postnuke-france.org/Tix_Archives.html )
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 44
thanks
i got already mine to work
i added l
ist($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();
before
$currentlang= pnGetLang();
what are the changes is your index.php? or is it the same????
thanks anyway!!! -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
Strangely, we probably don't have the same version because mine doesn't use dbconn, he was using directly mysql functions...
So your change would have no influence on mine...
But mine fix the sort, order, pages problem being empty and breaking the links here and there on the page (along with maybe some other little fixes I don't remember)...
:) -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
I'm as surprised as you about your error and me who don't have it but there is one thing that could be the reason... :
Code
if (pnConfigGetVar('multilingual')==1)......
You have the error because you site is multilingual (or your configuration says it is... and mine must not be. And this is the only place where $pntable is in use in all the file. Since mine is not, the $queryW is empty for me so no error.
-
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
In the past, it was in the settings.......... but if it is not there anymore, only change the code
Code
if (pnConfigGetVar('multilingual') == 1) {
$column = &$pntable['stories_column'];
$querylanA = "AND ($column[alanguage]='$currentlang' OR $column[alanguage]='')";
$querylangW = "WHERE ($column[alanguage]='$currentlang' OR $column[alanguage]='')";
} else {
$querylangA = '';
$querylangW = '';
}
to
Code
//if (pnConfigGetVar('multilingual') == 1) {
// $column = &$pntable['stories_column'];
// $querylanA = "AND ($column[alanguage]='$currentlang' OR $column[alanguage]='')";
// $querylangW = "WHERE ($column[alanguage]='$currentlang' OR $column[alanguage]='')";
//} else {
$querylangA = '';
$querylangW = '';
//}
- Moderated by:
- Support
