Posted: Sat Nov 12, 2005 9:04 pm Post subject: Cannot Edit: Main Page, Presentation, Terms, FAQ
Both this and SimpleCart look VERY promising and I am very excited but I am getting the following errors from the admin section of DaDahost. Does it have something to do with where the 'docs' folder goes? As in, I don't know where to put it ; - ) But the other parts work?
[ General Options | Order Fields | Domain Search | Plans and Prices | Packages ] ALL WORK FINE
But, none of the ones on the bottom line work:
[ Edit Main Page | Edit Presentation | Edit Terms and Conditions | Edit FAQ ] DON'T WORK.
I get the following errors.
For editing admin.php?op=presentacion
Fatal error: Call to undefined function: filter() in
html/modules/DaDaHost/admin/index.php on line 566
When trying to edit: admin.php?op=conditions
Fatal error: Call to undefined function: filter() in
/html/modules/DaDaHost/admin/index.php on line 589
When trying to edit: /html/admin.php?op=mainpage
Fatal error: Call to undefined function: filter() in
html/modules/DaDaHost/admin/index.php on line 543
I have just installed the dadahost module. Very nice, however I am having the same problem as djrino. When I go to edit the main page I get a blank screen. It's the same with term of service, presentation, and the faq page (the four links across the bottom of the admin menu).
Same prob on the docs pages, happend before when I tried to install this on another server. I mentioned it in the developers progress notes about the new one. Is there some php module we must turn on or something?
Them forum post links above werent too helpful, I hope I can get this fixed.
this has been rewritten soon to be released , you all will get a newletter sometime this week on hosting 2.0
thanks
steve
This is the filter_text code from the 3.1 patch series. Place this in mainfile.php.
Code:
function filter_text($Message, $strip="") {
global $EditedMessage;
check_words($Message);
$EditedMessage=check_html($EditedMessage, $strip);
return $EditedMessage;
}
Note that you must also have the following functions:
check_words
check_html
It is named filter_text(), not just filter(), so you will need to fix that. Either rename all of the occurrences in the Hosting code or duplicate the filter_text() function and call the duplicated on filter(). That's the lazy, but quick way
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum