1
fbcarter
problem with xoopsload.php xooops 2.3.3
  • 2009/7/8 4:02

  • fbcarter

  • Just popping in

  • Posts: 13

  • Since: 2009/6/11


I am trying to run Content 1.3 by Ben Brown. Locally everything works fine. on the live site in the admin section when I try to use the add content tab I get the banner and menu and everything else is blank.

All other aspects work and if I put content into the database using sql it shows on my site fine.

By tracing through the program (debug mode showed no difference in warnings and notices on the local and remote sites.) I found it died unceremonious in xoopsload.php in the loadcore function.

function loadCore($name)
{
static $configs;

if (!isset($configs)) {
$configs = XoopsLoad::loadCoreConfig();
}

if ( isset($configs[$name]) ) {
require $configs[$name]; // this is the last line executed
if ( class_exists($name) && method_exists($name, '__autoload') ) {
call_user_func( array($name, '__autoload') );
}
return true;
} elseif (file_exists(XOOPS_ROOT_PATH . "/class/{$name}.php")) {
include_once XOOPS_ROOT_PATH . "/class/{$name}.php";
return class_exists("Xoops" . ucfirst($name));
}

return false;
}

I have added a comment where it happens. When I checked the value of $configs[$name] it is the path to a valid file xoopseditor.php

Yet the require fails and termination occurs.

Any ideas would be appreciated.

When the error occurs add_content.php is trying to execute:
$editor = new XoopsFormEditor(_C_CONTENT, "fckeditor", $editor_configs);

2
ghia
Re: problem with xoopsload.php xooops 2.3.3
  • 2009/7/8 7:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


fbcarter, welcome to the XOOPS forum!

I assume the local and live site are two different servers? How did you setup the live site: via transfer or (re)install?
Run the file check (see release notes) once, to see no files are missing.


3
trabis
Re: problem with xoopsload.php xooops 2.3.3
  • 2009/7/8 12:33

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

I have added a comment where it happens. When I checked the value of $configs[$name] it is the path to a valid file xoopseditor.php

Yet the require fails and termination occurs.


If the path is valid then the require succeeds. You need to trace the included file now. What editor is it trying to load?

4
fbcarter
Re: problem with xoopsload.php xooops 2.3.3
  • 2009/7/14 15:49

  • fbcarter

  • Just popping in

  • Posts: 13

  • Since: 2009/6/11


The live site was a fresh install then loading the modules and content after.

5
fbcarter
Re: problem with xoopsload.php xooops 2.3.3
  • 2009/7/14 15:52

  • fbcarter

  • Just popping in

  • Posts: 13

  • Since: 2009/6/11


I put an echo statement as the first line of the xoopseditor.php

it was never reached.

It was trying to load the XoopsFormEditor

Login

Who's Online

270 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 270


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits