11
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



12
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.



13
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);




TopTop
« 1 (2)



Login

Who's Online

194 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits