Written by me@grafxflow
12 Nov, 2012
0
2,366
I had a client contact me saying that their Joomla (1.5) admin worked fine until they tried to edit an article and then got a blank white screen. What was strange was that the live website was working fine, so I checked out the offending admin section and what seemed to be a blank white screen actually contained some code with the following error:
Warning: require_once(__DIR__/articlesanywhere/articlesanywhere.php)
[function.require-once]: failed to open stream: No such file or directory in
/home/vvvv/public_html/new/plugins/editors-xtd/articlesanywhere.php
on line 17
Fatal error: require_once() [function.require]: Failed opening required
'__DIR__/articlesanywhere/articlesanywhere.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/vvvv/public_html/new/plugins/editors-xtd/articlesanywhere.php
on line 17
The error related to the plugin Articles Anywhere by nonumber, which was using code which only worked with php 5.3 upwards and the server had an older version. So the fix I managed to find was to edit a line of code in the file based in plugins/editors-xtd/articlesanywhere.php
require_once __DIR__ . '/articlesanywhere/articlesanywhere.php';
Change to...
require_once dirname(__FILE__) . '/articlesanywhere/articlesanywhere.php';
I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!
Follow11 Jul, 2023
21 Jun, 2023
25 Nov, 2022
Views: 164,853
Views: 39,616
Views: 36,092
Views: 32,954