I am restoring a backup file from a previous version, but the SQL file was so large it couldn't be imported through a PHP script. The web host has done it for me, but of course this did not run the database upgrade to the current version so now Newscoop doesn't work. How can I run the other parts of the restore script while skipping the database import and without access to the admin interface?
It sems like it needs a current version of the database to start the upgrade process. It's missing some column in the database, but isn't this the code that will add any missing column? Is there any way around this?
Do I have to install an older version? What would be the oldest Newscoop version that can run the database upgrade on PHP 5.4? Does that version work with a database from version 2.6.7?
In the 3.5.x versions, I get this error in the log when I try to access the admin page. [22-Aug-2013 13:10:54 Europe/Stockholm] PHP Fatal error: Class 'LocalizerLanguage' not found in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/admin-files/localizer/Localizer.php on line 170
In version 4.0.0, I get this error in the log file.
[22-Aug-2013 14:03:52 Europe/Stockholm] PHP Warning: require_once(smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/install/classes/CampTemplate.php on line 13 [22-Aug-2013 14:03:52 Europe/Stockholm] PHP Fatal error: require_once(): Failed opening required 'smarty/libs/Smarty.class.php' (include_path='/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/include:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/classes:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/classes/Extension:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/template_engine/classes:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/template_engine/metaclasses:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/application/../library:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/library:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/include:.:/usr/local/share/pear') in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/install/classes/CampTemplate.php on line 13
In Newscoop 4.0.1, I can't install because of this error. [22-Aug-2013 15:41:54 Europe/Stockholm] PHP Warning: require_once(smarty/libs/Smarty.class.php): failed to open stream: No such file or directory in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/install/classes/CampTemplate.php on line 13 [22-Aug-2013 15:41:54 Europe/Stockholm] PHP Fatal error: require_once(): Failed opening required 'smarty/libs/Smarty.class.php' (include_path='/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/classes:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/classes/Extension:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/template_engine/classes:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/template_engine/metaclasses:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/application/../library:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/library:/www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/include:.:/usr/local/share/pear') in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/install/classes/CampTemplate.php on line 13
It is the same in 4.0.2 as the others, but in 4.0.3 I get a different error.
[22-Aug-2013 16:42:20 Europe/Stockholm] PHP Fatal error: Cannot redeclare class Zend_Session in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/zendframework/zendframework1/library/Zend/Session.php on line 50