Topic: Failed conversion from Mambo 4.6.4 to MIA upgrade

Had to restore my old database.  Upgrade unsuccessful on live site.  Error with admin template:
Fatal error: Call to undefined method mamboCore::yuicssloader() in /home/myname/public_html/administrator/templates/miacms_admin/index.php on line 28

Now I DID forget ONE STEP until AFTER I got this error.  I forgot to add the lines to the configuration.php file.

How can I fix this?  I now (supposedly have all the regular Mambo files overwritten by the patch but have Mambo database.

Template "miacms_admin" was problematic to get working when I tried this with my local xampp install also.

Thanks for any clues.  I now have a hybrid installation.

Edit: Using Beyond Compare many files did not get overwritten.  I've tried to overwrite them by ftp AND by CPanel but keep gettin "Permission Denied".

Last edited by Hope (2008-06-11 12:34:42)

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

Are you sure YUI library installed files your  sites?


eg .../includes/js/yui

external YUI (Yahoo User Interface) library this package cannot have the Mambo.

Last edited by masoksian (2008-06-11 13:19:43)

Linux, Delphi, Eclipse,

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

Yeah I already looked there and all files seem to be in those folders already.  As I have had PERMISSIONS problems;  I'll check more carefully  with Beyond Compare to see if they did not update. 
Thanks for your help.

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

masoksian:
What do you mean by "external YUI (Yahoo User Interface) library this package cannot have the Mambo."
Do you mean those files should not BE there or do you mean they should not have the word "Mambo" in them??

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

Comparing MIA 4.6.4 /includes/js/yui with the same folder in MIA 4.6.5 gives a COMPLETELY different structure and different files.  Is THAT the problem?
4.6.5 has a "build" folder under includes/js  4.6.4 has a number of folders like "animation","assets","button". "comtainer", etc.

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

Yes we should have mentioned in the patch instructions that the old YUI structure is no longer needed.  There was an upgrade of YUI from 2.5.1 to 2.5.2.  You can remove the entire YUI folder in 4.6.4 and and just let the structure from the 4.6.5 patch take over.  It should actually work without this since you'd have both the old and new structure, but the old is not required and so no reason to keep the extra files around.

This error:

Fatal error: Call to undefined method mamboCore::yuicssloader() in /home/myname/public_html/administrator/templates/miacms_admin/index.php on line 28

Would indicate that your upgrade was not complete.  This method is defined in /includes/core.classes.php. it could also be from the one step you missed with the configuration file.  You must apply all the database changes, add those three lines to your configuration.php file, and extract the new patch.  Without all three things you will have issues.

http://brilaps.com
http://opensourcepenguin.net

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

I cannot use the .zip extension with my CPanel or shell access. I think that is the problem.  Could you add a .tar.gz file for the Mambo 4.6 to MiaCMS 4.6.5 Upgrade FULL??
The files just will not overwrite and when I tried to extract again in CPanel;  it would not even execute.
Unless someone can tell me how to successfully unzip a zip file on a Linux server with shell access....

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

We already have it, but not uploaded. I'll upload on Google in a few hours and send another post here.

http://brilaps.com || http://blog.ocszone.com || http://miacms.org

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

ocs:
Thanks,  but I managed to use a shell command to unzip the file...who knew it was as easy as "unzip file.zip" ???
I am now going through a tedious comparison of the files.
Will probably resume this tomorrow.
Thanks for all the kind offers of help.  cool

EDIT: All works now.  Well,  have not tried Mostlyce yet and I have a little template problem but I had that before the upgrade.

Last edited by Hope (2008-06-11 17:14:23)

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

i'm getting the same error HOPE had, migrating from Mambo 4.6.5:


Fatal error: Call to undefined method mamboCore::yuicssloader() in /home/notfried/public_html/community/administrator/templates/miacms_admin/index.php on line 28

any insight?

i might try upgrading miaCMS and see if that helps.

thanks.

mike

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

It sounds like your conversion was not complete.  Did you follow the conversion doc?  If so then it seems like either some of the database statements did go through, some files did not make it to your server, and/or you are missing those new configuration variables.

http://brilaps.com
http://opensourcepenguin.net

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

i think i had checked the databases to confirm SQL statements and definitely had added the config variables. maybe there was a file (or some files missing).

ended up just doing a fresh install of v4.9, using the original Mambo DB, and leaving the Remository tables.

in order to make remository work, as per martin's instructions, i had to:
change line 2184 of ../includes/core.classes.php so that it reads:

include_once ($mosConfig_absolute_path.'/includes/js/jsmin/jsmin.php');

Re: Failed conversion from Mambo 4.6.4 to MIA upgrade

OK good to know.  Martin and I have been discussing the $mosConfig_absolute_path slash issue.

http://brilaps.com
http://opensourcepenguin.net