Welcome, Guest. Please login or register.
September 06, 2008, 09:47:27 AM
Home Help Search Login Register
News: iJoomla SideBars for Joomla 1.5 is here!

+  iJoomla Forum
|-+  iJoomla Magazine
| |-+  Troubleshooting
| | |-+  Fatal error
« previous next »
Pages: 1 [2] Print
Author Topic: Fatal error  (Read 2940 times)
kkaposhilin
customers
Newbie
*
Posts: 1


View Profile Email
« Reply #15 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!
Logged
RicardoCorai
customers
Hero Member
*
Posts: 1856


View Profile WWW
« Reply #16 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.


Logged

Ricardo Corai
Moderator
www.planetacms.com
Symbiot
Newbie
*
Posts: 3


View Profile Email
« Reply #17 on: May 20, 2008, 01:09:07 PM »

ok, i know this is cheating  Shocked

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...
Logged
Symbiot
Newbie
*
Posts: 3


View Profile Email
« Reply #18 on: August 19, 2008, 01:40:09 AM »

this issues still persists??

my fix still works for me.

changes refer to magazine.class.php
Logged
RicardoCorai
customers
Hero Member
*
Posts: 1856


View Profile WWW
« Reply #19 on: August 20, 2008, 06:41:54 AM »

No, iJoomla Magazine is working fine with legacy mode.
Logged

Ricardo Corai
Moderator
www.planetacms.com
Pages: 1 [2] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox