Written by me@grafxflow
12 Nov, 2012
0
3,033
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';
Darth Maul and Micro-Organisms: Inside George Lucas's Cancelled Star Wars Sequel Trilogy
How to Automatically Convert DVD Subtitles to SRT on Mac
The $4 Billion Divorce: Inside the Awkward, Painful Sale of Lucasfilm to Disney
The Rift That Broke the Whip: Inside Lucas, Spielberg, and Harrison Ford's 'Furious Rows' Over Indiana Jones
Breaking the Endless Loop: Why Star Wars Needs an Origin Story
Founder, Grafxflow
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. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!