close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MDB2 Error

Thread began 9/04/2011 11:05 am by Martin | Last modified 9/08/2011 6:58 am by Martin | 2163 views | 6 replies |

Martin

MDB2 Error

I had an existing Power CMS solution installed on a server for a client. I have had to move the Database and the site to a new server.

I exported the Power CMS Database and imported it into the new server. I have also gone through the site and replaced all the old Power CMS code with Power CMS Builder code.

Everything is working well except for the admin backend. As such I blew away the old power CMS backend and let Power CMS Builder upload all its files and went through the whole install process again.

As such everything works fine except for the following. When I try to insert an image I get the following error.

alert("MDB2 Error: no such table\nSELECT extension, plugin FROM kfm_plugin_extensions WHERE user_id=1")

Any suggestions on how to fix this?

Thanks,
Martin

Sign in to reply to this post

Martin

I have solved my own problem. Here is what I did.

I noticed that compared to other clients i have installed this for. I was missing a table, kfm_plugin_extensions.

I was able to export this table from another CMS database and import it into this database.

Now when I went to add an image it came up with "please wait loading" and the "Kae's file manager" header.

I remembered from a previous support assist that this error was due to a script issue in the kfm/index.php page.

showthread.php?t=22454

I used this fix and changed the script in the index page and it now works!

I just thought I would share my experience with others!

Cheers,
Martin

Sign in to reply to this post

Martin

One issue I am still seeing is not related to images, it is a problem making text hyperlinks. When I highlight some text and hit the link button and choose browse the server, I am stuck in the images folder??

All would be well if I could go up one directory, but I cannot see any way to do this. Any ideas on what could be causing this issue?

Thanks again!
Martin

Sign in to reply to this post

Jason ByrnesWebAssist

By default, image uploads and links will start in the "files" folder.


you can change this by editing the wa_settings table of the power cms database , you can set it to use the site root by changing the value column of the Image Upload Folder setting from files to be blank.

Sign in to reply to this post

Martin

Hi Jason,

I tried what you suggested, I went to the WA Settings table and changed the "image upload folder to just a slash "/". Leaving it blank produced an error.

Now I can see .html file links but I cannot see any PHP files?? Any ideas?

Thanks again!

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/kfm/initialize.php file, change the following line:

php:
$kfm->defaultSetting('banned_extensions',array('asp','cfm','cgi','php','php3','php4','php5','phtm','pl','sh','shtm','shtml'));




to:

php:
$kfm->defaultSetting('banned_extensions',array('asp','cfm','cgi','pl','sh','shtm','shtml'));
Sign in to reply to this post

Martin

Excellent! Thank you!

Perhaps in future it might be a helpful thing to be able set these variables from within the Web Assist UI? Maybe a different table field that controls how users browse for images versus links?

Thanks,
Martin

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...