Author Topic: For the portability of the website (local / server / other place)  (Read 5802 times)

Captain_FLAM

  • Freshman
  • *
  • Posts: 16
    • View Profile
in -> cache\autoloader.php

change all direct paths on each lines :

$GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = '/home/www/application/controllers/AccessController.class.php';

by :

   $GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = ROOT . '/application/controllers/AccessController.class.php';

Captain_FLAM

  • Freshman
  • *
  • Posts: 16
    • View Profile
Re: For the portability of the website (local / server / other place)
« Reply #1 on: July 19, 2011, 06:50:44 am »
Nobody (no dev) is interested ?

I post many code, but i think this forum is DEAD, isn't it ?

Henry

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: For the portability of the website (local / server / other place)
« Reply #2 on: July 28, 2011, 02:07:16 pm »
Thanks for your post. You can also delete the autoloader.php. The application create a new file with the actual path.


franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: For the portability of the website (local / server / other place)
« Reply #3 on: August 12, 2011, 09:16:53 pm »
Hi Captain, thanks for your contribution.
The Forum is not dead.. but it is not as alive as we all here would like it to be.
We do know it is hard to develop plugins nowadays with current Feng Office core, but this will change pretty soon when the next version is out.

Hang in there, and keep up your good work!

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

bleeuwen

  • Freshman
  • *
  • Posts: 26
    • View Profile
    • Email
Re: For the portability of the website (local / server / other place)
« Reply #4 on: November 12, 2011, 12:14:04 pm »
Hi

I copied a FengOffice installation to my local PC, and got errors connected with the $Globals.

deleting autoloader.php works.

After starting the website, a new file with the name autoloader.php is created

Thanks

donaldjack59

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: For the portability of the website (local / server / other place)
« Reply #5 on: February 03, 2012, 02:56:11 pm »
$GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = '/home/www/application/controllers/AccessController.class.php';

by :

   $GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = ROOT . '/application/controllers/AccessController.class.php';