Error in Portuguese Brazilian configured Web Browser,

Please report bugs here!

Moderator: Thorsten

Post Reply
williamm
Posts: 11
Joined: Sat Jul 31, 2010 5:37 pm

Error in Portuguese Brazilian configured Web Browser,

Post by williamm »

Hi,

I'm using IE8 and when navigating in sites with older phpMyFAQ version, I get a blank screen with the only following message:

phpMyFAQ warning [2]: require_once(lang/language_pt-BR.php) [function.require-once]: failed to open stream: No such file or directory in index.php on line 65

I've noted this when I clicked in the faq menu of the phpMyFAQ site just becuse I was searching a FAQ system to implement here. It took me a long time to found the reason so I'm informing this because I this is a bug because the non supported languages should inform the user about that so he can use another language if desired.

Best Regards,

William.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error in Portuguese Brazilian configured Web Browser,

Post by Thorsten »

Hi,

this should fix your issue: http://github.com/thorsten/phpMyFAQ/com ... 67ebb01ffb

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
williamm
Posts: 11
Joined: Sat Jul 31, 2010 5:37 pm

Re: Error in Portuguese Brazilian configured Web Browser,

Post by williamm »

Hi Thorsten,

It seems this solution did not solve the problem. Now I'm getting a HTTP 500 Error in the Browser and checking the Web Server log files, it shows:

PHP Fatal error: Call to a member function strtolower() on a non-object in C:\inetpub\wwwroot\faq\inc\String.php on line 146

Best Regards,

William.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error in Portuguese Brazilian configured Web Browser,

Post by Thorsten »

Hi,

yes, sorry, I already saw that. Please remove the "PMF_String::" in my fix.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
williamm
Posts: 11
Joined: Sat Jul 31, 2010 5:37 pm

Re: Error in Portuguese Brazilian configured Web Browser,

Post by williamm »

Hi,

Perfect, problem solved now.

William.
Post Reply