Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:52:43 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Manual module can't delete  (Read 816 times)
FreeBSD4me

Offline Offline

Posts: 15


« on: August 01, 2007, 01:45:45 AM »

I'm re-posting this to make it easy for people having this problem to find the answer.
I didn't solve this problem, Klaus is credited with providing the answer.

If you are having trouble deleting content created with the manual module using WB 2.6.7 follow these instructions:

1.) FTP or SFTP to your site
2.) Navigate to the manual module directory (located under the directory named modules which is under the WB root directory)
3.) backup the file named delete.php
4.) Edit delete.php and look for the line:

require(WB_PATH.'/framework/functions.php');

replace require with require_once.

It should now look like this:

require_once(WB_PATH.'/framework/functions.php');

4.) Save the file

The delete function will now delete the content, directories and the database entries and you won't get the blank white page.

Thanks again to Klaus
Logged
SourDough

Offline Offline

Posts: 47


WWW
« Reply #1 on: May 23, 2008, 07:34:12 PM »

Can this change be made in the package available for download?  Kind of annoying to have to remember to make this change each time I setup a new site.

Thanks.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!