Author Topic: How to see all PHP error  (Read 2782 times)

stevenmartin99

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
How to see all PHP error
« on: October 30, 2013, 07:55:37 PM »
Hi, I'm trying to get a plugin to work , and have modified some of , and have gotten rid of all the errors on screen and in the log.php

so now i can successfully enable to extension .. but a blank screen with just the top black bar.

How can i turn on all errors in Feng Office so i can track this issue as the log is now blank like the screen!!

thanks

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: How to see all PHP error
« Reply #1 on: October 31, 2013, 10:04:51 AM »
Hello there! Great to know you have been working on a new plugin.
What is this plugin capable of?

Concerning showing the errors, you should change the FENG_ROOT/config/config.php file and change the constant called debug to true.

Some other useful things are using FireBug in Mozilla, as well as debugging directly on a log file.

I would also suggest deleting the FENG_ROOT/cache/autoloader.php file at least once to make sure everything is ok with it. Then it will be autogenerated again.

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

stevenmartin99

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: How to see all PHP error
« Reply #2 on: October 31, 2013, 02:55:05 PM »
Hi Francisco

I'm just trying to get the chat plugin that's on the forum to work in the lastedt version.

I managed to get the installer to run after a couple of changes and when I enable it the rest of fo failed to load.

I have cleared the log file and no new errors.

I deleted the loader and it made itself again and all looks good.

What I can't do is get a php error log, as error reporting seems to be off. Is there a way to turn it on?

As soon as I modify the table to disable the plugin it all works again

stevenmartin99

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: How to see all PHP error
« Reply #3 on: November 01, 2013, 03:36:34 AM »
Firebug worked , 2 errors .

og.prefreneces....  Undefined
I'll get that one fixed


But a bigger issues

404 document not found

Feng is installed at

Domain.com/folder/index.php

But the 404 is caused by a scipt looking for

Domain.com/index.php

The config variable for root domain is set correctly and I have tracked the URL build on the Ajax call but Still haven't found the cause of this , I'll keep looking
« Last Edit: November 01, 2013, 03:38:53 AM by stevenmartin99 »

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: How to see all PHP error
« Reply #4 on: November 08, 2013, 09:39:51 AM »
Hello there!

Glad to know it worked!
Not sure why are you getting that error message though as it should work fine.

If you would like my colleagues to look into it accessing your servers, this would be possible of course provided you get to subscribe to our services.

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

 

anything