Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

function include gives warning

Asked Modified Viewed 1,166 times
H
helmuth
H
Danish translator of PHP-Fusion helmuth@php-fusion.dk
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
Listen to the music... https://soundcloud.com/helmuth-mikkel...mikkelsen/
  • Senior Member, joined since
  • Contributed 706 posts on the community forums.
  • Started 219 threads in the forums
  • Started this discussions
  • Answered 1 question
asked
Senior Member

How to fix this?

Quote

Warning: include(locale//errors.php) [function.include]: failed to open stream: No such file or directory in /var/www/kidsvolley-kerteminde.dk/public_html/v8/includes/error_handling_include.php on line 22

Warning: include(locale//errors.php) [function.include]: failed to open stream: No such file or directory in /var/www/kidsvolley-kerteminde.dk/public_html/v8/includes/error_handling_include.php on line 22

Warning: include() [function.include]: Failed opening 'locale//errors.php' for inclusion (include_path='.') in /var/www/kidsvolley-kerteminde.dk/public_html/v8/includes/error_handling_include.php on line 22


line 22
include LOCALE.LOCALESET."errors.php";


And it is not possible to access the admin area ...
Edited by helmuth on 07-01-2019 10:52,
0 replies

6 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

The system locale is blank, locale//errors.php < Should be locale/Your_lang/errors.php
How did it happend?
0 replies
H
helmuth
H
Danish translator of PHP-Fusion helmuth@php-fusion.dk
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
Listen to the music... https://soundcloud.com/helmuth-mikkel...mikkelsen/
  • Senior Member, joined since
  • Contributed 706 posts on the community forums.
  • Started 219 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

I followed the advice in this thread https://www.php-fusion.co.uk/infusion...ost_205767 to download utfcast and installed it on my old laptop

I converted all the Danish locale files and uploaded them to the v8-folder
after upload the error appeared and now you can't access admin area either
I reuploaded the backup files but still no website content
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Ah, utfcast does not copy files not converted, if you only uploaded output from the utfcast it will miss files. But when I see the error, It looked like the $setting ['locale'] is blank. Maybe you can verify this.
phpMyAdmin > Table > Settings > Find PREFIX_settings > locale and see if it says Danish.
Edited by N/A on 07-01-2019 14:04,
Falk attached the following image:
Image not found
0 replies
H
helmuth
H
Danish translator of PHP-Fusion helmuth@php-fusion.dk
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
Listen to the music... https://soundcloud.com/helmuth-mikkel...mikkelsen/
  • Senior Member, joined since
  • Contributed 706 posts on the community forums.
  • Started 219 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

it says Danish
helmuth attached the following image:
Image not found
1 reply
H
helmuth
H
Danish translator of PHP-Fusion helmuth@php-fusion.dk
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
Listen to the music... https://soundcloud.com/helmuth-mikkel...mikkelsen/
  • Senior Member, joined since
  • Contributed 706 posts on the community forums.
  • Started 219 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

I'm quite certain that is was unchecked ...
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

I think we have a version mixup here, earlier versions had a admin_language sneaked in to the Github, this was not good for compatbility and it will crash the site unless the table exist in the PREFIX_admin strcuture.
This one does not exist now ( I removed it yesterday ). So if you have an older Git version, try a new copy. The current copy is pending for an release when I figured out what afoster has issue with.. But it has been tested in local xamp, laragon, live servers. Here and my private ones on a large varyity of environments. Ubuntu, IIS, Apache, PHP 7.1.11 > 7.2.13 etc etc.. it feels very solid but I wanna see if we have something extra to sort before a release.
0 replies

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
H
H
Danish translator of PHP-Fusion helmuth@php-fusion.dk
-----------------------------------------
All people are born alike - except Republicans and Democrats. (Groucho Marx)
Listen to the music... https://soundcloud.com/helmuth-mikkel...mikkelsen/
  • Senior Member, joined since
  • Contributed 706 posts on the community forums.
  • Started 219 threads in the forums
  • Started this discussions
  • Answered 1 question

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet