iJoomla Forum

iJoomla Magazine => Troubleshooting => Topic started by: k4lch on April 08, 2008, 05:31:27 PM



Title: Fatal error
Post by: k4lch on April 08, 2008, 05:31:27 PM
 
Fatal error: Cannot instantiate non-existent class: moshtml in /home/content/info/administrator/components/com_magazine/admin.magazine.php on line 1360
get this error when trying to goto issues
 
joomla 1.5.2
php5.2.5
mysql 5.045
apache 2

magazine will only work with legacy mode on






Title: Re: Fatal error
Post by: RicardoCorai on April 09, 2008, 11:04:19 AM
Try downloading the new iJoomla Magazine version for J! 1.5.
Let me know if the problem persists.
Best regards,


Title: Re: Fatal error
Post by: wshealy on April 09, 2008, 05:37:56 PM
Fatal error: Cannot instantiate non-existent class: jarrayhelper in /joomla/administrator/components/com_magazine/admin.magazine.php on line 1652

Mine doesn't allow access to the article settings and I get another error in legacy mode. This error occurs when you click on  a header in article list in native mode. I can't debug it for you since this is an ioncube encrypted module. I can't delete article or make changes except unpublish.

My system stats are the same as above.


Title: Re: Fatal error
Post by: k4lch on April 09, 2008, 06:17:20 PM
Reinstalled component now get the same error as Wshealy

can't use legacy for this error
 Fatal error: Cannot redeclare mosreaddirectory() (previously declared in /home/content/html/info/dev/plugins/system/legacy/functions.php:277) in /home/content/html/info/dev/administrator/components/com_magazine/magazine.class.php on line 441


Title: Re: Fatal error
Post by: RicardoCorai on April 10, 2008, 07:54:00 AM
Please submit a support ticket.
Best regards,


Title: Re: Fatal error
Post by: RicardoCorai on April 10, 2008, 09:42:33 AM
Updated: Please turn off the legacy mode plugin.


Title: Re: Fatal error
Post by: k4lch on April 10, 2008, 11:03:20 AM
legacy is off


Title: Re: Fatal error
Post by: RicardoCorai on April 10, 2008, 01:25:20 PM
In this case please submit a support ticket.
Best regards,


Title: Re: Fatal error
Post by: veetkam on April 14, 2008, 04:24:57 PM
Unfortunatly I do have the same error:

Fatal error: Cannot instantiate non-existent class: jarrayhelper in . . . . . . . .
This on trying to add articles . . . .

this perhaps with and without active legacy-mode

Joomla 1.5.2 
php 5.2
newest download of magazine-component

whats to do ??  - please publish a Version who works full in 1. 5. 2 --

thanks


Title: Re: Fatal error
Post by: purno4u on April 15, 2008, 04:36:56 AM
Hello, I have the same problem.  ???

It makes no sence to switch off the legacy mode for me. I need the legacy mode for other not 1.5 native components. Please solve the problem at the 1.5 iJoomla Magazine Component.

Thank you in advance.


Kind Regards, Ralf


Title: Re: Fatal error
Post by: RicardoCorai on April 15, 2008, 10:48:24 AM
Please, download the extension again and try reinstalling it. Let me know if the problem persists.


Title: Re: Fatal error
Post by: purno4u on April 16, 2008, 04:24:14 AM
After reinstallation I hav ethe same error:

Fatal error: Cannot redeclare mosreaddirectory() (previously declared in /srv/www/vhosts/xxxx.net/httpdocs/_NEW_/plugins/system/legacy/functions.php:277) in /srv/www/vhosts/xxxx.net/httpdocs/_NEW_/administrator/components/com_magazine/magazine.class.php on line 441

I called the magazine component at the backend of joomla 1.5.2

:-(


Title: Re: Fatal error
Post by: veetkam on April 16, 2008, 07:26:00 AM
with the new download it seems that the problem on "add article" (see above) is solved.

BUT

The redeclaration-problems are also here still present (see purno4u's entry).

And - there is now a problem with the special-characters (ä ö ü . . . )on Backend.

Hoping on a quick end of the actual Beta-Status  :-)

Kind Regards


Title: Re: Fatal error
Post by: RicardoCorai on April 17, 2008, 11:51:04 AM
After reinstallation I hav ethe same error:
Fatal error: Cannot redeclare mosreaddirectory() (previously declared in /srv/www/vhosts/xxxx.net/httpdocs/_NEW_/plugins/system/legacy/functions.php:277) in /srv/www/vhosts/xxxx.net/httpdocs/_NEW_/administrator/components/com_magazine/magazine.class.php on line 441
I called the magazine component at the backend of joomla 1.5.2
:-(
Hi,
Please turn off your legacy mode. If the problem persists submit a support ticket.

Quote
The redeclaration-problems are also here still present (see purno4u's entry).
Hi veetkam,
Please turn off your legacy mode. If the problem persists submit a support ticket.

Quote
And - there is now a problem with the special-characters (ä ö ü . . . )on Backend.
Go to Magazine Setting and then you can enable UTF-8 functionality.
Let me know if the problem persists.
Best regards,


Title: Re: Fatal error
Post by: veetkam on April 17, 2008, 04:40:44 PM
OK - thanks  BUT:

The re-declaration-Error(s) are away, if Legacy mode is off. This is not a solution - because the installation of magazine does not convert all the other Stuff like Template - Modules - Plugins and Module in 1.5-native Version. That means I   N E E D ! ! legacy-mode on !!

The activation of the utf-8 functionality in settings changes nothing  for the bad display of the special-characters (ä, ö, ü . . . . .)

Remember: The first download-version of Magazine for 1.52 was absolutely correct with the special-chars. The problem was totally fresh created for the download from yesterday (with the same release-number).

Hope to have now my time for converting the site anstead of being a beta tester - or . . . . . I better have to wait with magazine-converting till a stable version is available ?

Kind regards



Title: Re: Fatal error
Post by: kkaposhilin on April 18, 2008, 08:26:09 AM
We're having the same / similar problem with our installation.  We must keep LEGACY mode on for some of the other necessary components to work but it appears that the Magazine component will not work in legacy mode?

When trying to select the iJoomla Magazine component from the main Joomla navigation we're getting:

Fatal error: Cannot redeclare mosreaddirectory() (previously declared in /srv/xxxx.net/plugins/system/legacy/functions.php:277) in /srv/xxxx.net/administrator/components/com_magazine/magazine.class.php on line 441

Is this the same type of problem that is being referred to throughout this thread?

Any options to use iJoomla Magazine in Legacy mode?

Best Regards and Thanks!


Title: Re: Fatal error
Post by: RicardoCorai on April 21, 2008, 12:22:03 PM
The activation of the utf-8 functionality in settings changes nothing  for the bad display of the special-characters (ä, ö, ü . . . . .)
Please submit a support ticket for this.

Quote from: kkaposhilin
Any options to use iJoomla Magazine in Legacy mode?
Not at this point.




Title: Re: Fatal error
Post by: Symbiot on May 20, 2008, 01:09:07 PM
ok, i know this is cheating  :o

lines 405 - 432 :

//function mosReadDirectory( $path, $filter='.', $recurse=false, $fullpath=false  ) {
//   $arr = array();
//   if (!@is_dir( $path )) {
//      return $arr;
//   }
//   $handle = opendir( $path );
//
//   while ($file = readdir($handle)) {
//      $dir = JPath::clean( $path.'/'.$file, false );
//      $isDir = is_dir( $dir );
//      if (($file != ".") && ($file != "..")) {
//         if (preg_match( "/$filter/", $file )) {
//            if ($fullpath) {
//               $arr[] = trim( mosPathName( $path.'/'.$file, false ) );
//            } else {
//               $arr[] = trim( $file );
//            }
//         }
//         if ($recurse && $isDir) {
//            $arr2 = mosReadDirectory( $dir, $filter, $recurse, $fullpath );
//            $arr = array_merge( $arr, $arr2 );
//         }
//      }
//   }
//   closedir($handle);
//   asort($arr);
//   return $arr;
//}


So far everything, everything I've tested, is working just fine...


Title: Re: Fatal error
Post by: Symbiot on August 19, 2008, 01:40:09 AM
this issues still persists??

my fix still works for me.

changes refer to magazine.class.php


Title: Re: Fatal error
Post by: RicardoCorai on August 20, 2008, 06:41:54 AM
No, iJoomla Magazine is working fine with legacy mode.