Fork me on GitHub

Problems with upgrading zikula 1.2.8 to 1.3  Bottom

  • Ok i've been trying since last night to upgrade zikula to 1.3.

    The error i get when visiting my site's upgrade.php is:

    Quote

    Uncaught exception PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'root\@\localhost' (using password: NO) in /home/msgcocc/public_html/lib/vendor/Doctrine/Doctrine/Connection.php line, 474
    #0 /home/msgcocc/public_html/lib/vendor/Doctrine/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect()
    #1 /home/msgcocc/public_html/lib/vendor/Doctrine/Doctrine/Connection.php(1001): Doctrine_Connection_Mysql->connect()
    #2 /home/msgcocc/public_html/lib/vendor/Doctrine/Doctrine/Connection.php(850): Doctrine_Connection->execute('SHOW TABLES', Array)
    #3 /home/msgcocc/public_html/lib/vendor/Doctrine/Doctrine/Import/Mysql.php(221): Doctrine_Connection->fetchColumn('SHOW TABLES')
    #4 /home/msgcocc/public_html/upgrade.php(526): Doctrine_Import_Mysql->listTables()
    #5 /home/msgcocc/public_html/upgrade.php(45): upgrade_getColumnsForTable(Object(Doctrine_Connection_Mysql), 'modules')
    #6 {main}


    And it should have pdo from what i know from reading this topic: http://forums.e10free.com/topic/44-PHP-system-update/
    So i don't know what may be wrong...any help would be apprieciated.
  • Ok now i've properly changed values where needed but it won't let me run the upgrade script
  • You might try restoring all the original 1.2.8 data, and start over. I have no idea about Zikula 1.3.x, and the upgrading procedure, but Zikula 1.3.x is not accessing the database when you are running the upgrade.php file.
  • how would i force it to go to the database in the upgrade.php file? (i've made no changes besides once nesscary to not use the root user but me instead so i dont' know what else could be wrong)
  • Again, I have absolutely no idea how the upgrade procedure is supposed to go when upgrading from Zikula 1.2.x to Zikula 1.3.x. It appears from the errors that you posted above that there is a communication error between Zikula and the mysql database. It's usually a problem in the config.php file.



    Edited by mesteele101 on Dec 15, 2011 - 07:15 PM.
  • i figured it out the installed variable was preventing it from upgrading had to change the value to 1 so it would run (after i'd already put details to make it run off of old configurations) Nice that i acutally remembered to backup stuff :D
  • Ok can someone help me....seem to of run into another error on upgrading:

    Quote


    Uncaught exception Empty 'page' specified in your theme page configuration on file master.ini. in /home/msgcocc/public_html/lib/Zikula/View/Theme.php line, 697
    #0 /home/msgcocc/public_html/lib/Zikula/View/Theme.php(226): Zikula_View_Theme->load_config()
    #1 /home/msgcocc/public_html/lib/Zikula/View/Theme.php(275): Zikula_View_Theme->__construct(Object(Zikula_ServiceManager), NULL)
    #2 /home/msgcocc/public_html/lib/Zikula/Core.php(478): Zikula_View_Theme::getInstance()
    #3 /home/msgcocc/public_html/upgrade.php(65): Zikula_Core->init(4095)
    #4 {main}
  • Did you switch to a stock Zukila theme prior to updating?

    Almost every existing theme that is running on 1.2.x will not run on 1.3.x without some modifications, of some type. It could be minor to major modifications.
  • well i made the changes it said to with the one i had set but there was no way to recheck right now i'm getting mad. This shouldn't be so hard but it's getting annoying i've restored the config.php set the desired settings in it and it fails continually quite frankly i'm about to give up if it's gonna be this complicated and lately i haven't been getting support as quick as i'm used to on other sites. I've made whatever changes zikula has demanded so upgrades should work.....this is why a CMS like this should have update scripts and not just one general package....
  • The first thing is; you are mistaking Zikula for a CMS when it really is not, at least at this time.

    Zikula is not user friendly. The framework is great if you are a developer, but for someone with your knowledge it can be very frustrating.

    IMHO; there are far better solutions out there for the inexperienced.

    Good luck…

    --
    Kindest regards,
    Michael...

    WINSNORT.com Management Team Member
    --
    Pick up your FREE Windows Snort installation guides
    mailto:support@winsnort.com
    Website: http://www.winsnort.com
    Snort: Open Source Network IDS - http://www.snort.org
  • A web developer / website maker is not a plain user IMO. I understand the frustration and the support community is not very big with busy people (incl myself) icon_frown

    Zikula once installed can be very user friendly. And Zikula can be a very good CMS (Zikula 1.2 and Zikula 1.3) if you want it to be. But you are right, it certainly needs some time investment to get everything right for your situation. I "grew" up with Zikula so I never have problems with it.

    Upgrading from earlier installations is always more work then you anticipate, that is a pity.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Well I might try upgrading again by restoring the old first....but someone needs to explain the procedure everything I've found online is sketchy at best
  • Did you see the docs in the 1.3 install that describe what to do? It is pretty extensive in how to do it. You can find the UPGRADE doc at yourzikulafolder/docs/en/UPGRADING. Ask if you get stuck at any point. When I have had upgrade problems or weird funky stuff going on, it often comes down to the server not having the right PHP or mysql version. Also, if you can get access to the PHP and apache log files, they can often be really informative.

    Just my 2 cents. Hang in there. I just did an analysis of some other CMS, joomla, drupal and tiki Wiki to see if they would fit my needs. They all had their own pros and cons, but I came back to zikula for three reasons
    1. It is far more customizable. You can make a zikula site look like anything you want.
    2. The are too helpful. IMHO they try to solve too many problems and then box you in. I was always running up against road blocks trying to replicate what I have in Zikula, because the CMS had made a design decision for me.
    3. Zikula is really powerful. Lots of nice solutions and frankly they are farther along in their dev than what I have seen on other systems.

    My only concern is if Zikula will keep going....



    Edited by Paustian on Dec 16, 2011 - 06:26 AM.

This list is based on users active over the last 60 minutes.