PnZClassiefiued 2.5 Header Error in Zikula 1.1 after Upgrade Zikula  Début

  • Hello i have an important question using 2.5 for Zikula. After update to 1.03 Users logged in get following error at sending new entrys.:
    Fatal error: Cannot redeclare head() (previously declared in suerth-marktplatz.de/httpdocs/header.php:17) in suerth-marktplatz.de/httpdocs/header.php on line 27
    I changed even theme template using "Seabreeze" but nothing changed.
    Can anyone support this cause i need this nice tool.
    Even by support for money .......
    Jazzie



    modifié par : jazzie, 07 Jan 2010 - 02:06
  • Hello,
    Unfortunately I don't see what could be the problem on your website.
    PN_zClassifieds has been tested with Zikula 1.0x and 1.1x and I never had this error message.
    Does it appear on all PN_zClassifieds pages or only on some pages ?
    Each PN_zClassifieds page code is calling the header.php file with a line like :

    Code

    include("header.php");


    Most probably your problem is that this file is called twice but I can't see why ?
    Is your website online so that I can make some tests ?
    Unfortunately I am not able to provide support for money.
  • I went to your website http://suerth-marktplatz.de and registered as a new member and tried to create a new classified and I saw the error message. Most probably there is a problem with the modules/PN_zClassifieds/list.php file or another PN_zClassifieds file and this should not be too difficult to find and fix. I will test my own websites and report.
  • Hello,
    I made some tests and I can't reproduce your problem here on my website. everything is working OK when I submit a new ad. No error message is displayed.
    My list.php file is the same that is in the 2.5 for Zikula download
  • If you have alreday an account i can give you admin acces for this and you can look to the settings, maybe it is a prob with rights.
    Before i used the 2.1 and Zikula 1.o there where no problems
    maybe there happend something on upgrade to Zikula (1.0.3). Since that, when i giva new ad as admin i get following line:Fehler: Unknown column 'itemcondition' in 'field list' zurück
    and i get no error in header but even no new ad
    Jazzie l
  • Well, well, well,
    Thanks to this error message, I think that we now have the problem sorted :
    To permit the module to run with mysql5, I changed the name of a field in the classifieds_ads table from "condition" to "itemcondition" because "condition" is now a reserved name in mysql5 and the module was no more working with mysql5
    Normally the upgrade procedure change this in the 2.1 -> 2.2 upgrade and you have nothing to do, but for an unknown reason something went wrong during the upgrade on your website and the field was not renamed.
    You must use phpMyAdmin to manually rename the "condition" field in the classifieds_ads table to "itemcondition" and I think that adding new ads will work both for users and for you as admin.
    while you are at it, go in the module configuration and verify that currency symbol and introduction text were correctly set during upgrade. This is all that was changed during upgrade.
    If you are not familiar with phpMyadmin use don't hesitate to ask.
    If the problem is not resolved, let me know in this forum.
  • Hello icon_wink this was a first and very helpfull step ,
    new ads as admin worki now agian.
    The table itemcondition was missingcomplete in the DB i add the row. Maybe i sent ya a dump of the classiefieds tables to look at. Could be missing another table too?
    The users are still in header trouble.......

    Jazzie



    modifié par : jazzie, 07 Jan 2010 - 22:55
  • Yes please send a dump of the tables to vedrine@vedrine.net so that I can check that everything is OK
    Warning you must NOT ADD a new itemcondition row in the table but RENAME row condition to itemcondition !!!
  • Hi after the fix with list. php file and set User ad rights in Zikula all works very fine. Very Helpfull action. I decided an article about that Problem in my german blog. I will correct the translation file and give it aftrwards toi you .
    http://www.packie.de/internet/pnzclassiefields-2-5-header-error-bug-behoben/ icon_biggrin
    After that you can give it to your lang in the package for all.
    Jazzie
  • 14 visiteurs

Données pour les 15 dernières minutes