close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Database not being created

Thread begun 1/16/2013 9:13 am by Sally | Last modified 1/16/2013 12:05 pm by Jason Byrnes | 1382 views | 3 replies |

Sally

Database not being created

I'm running the DA Create Pages wizard, using the CMS template. I've told it to create the cms table for me and I can test my SQL connection in DW without problems.

The wizard runs with no errors and creates all the pages, but the cms table is not created in the database.

I've run through this a couple of times, but can't seem to figure out the problem. The only table in the database is the one I created using phpMyAdmin. Any help would be appreciated.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

Not sure why the database table is not being created, probably an issue with the site definition settings for the testing server. Perhaps the URL Prefix and the HOST Directory arent pointing to the same place.

here is the SQL for creating the CMS table though:
[copde]CREATE TABLE `cms` (
`CMSID` int(11) NOT NULL AUTO_INCREMENT,
`CMSTitle` mediumtext NOT NULL,
`CMSContent` longtext NOT NULL,
PRIMARY KEY (`CMSID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1[/code[

you can access the database suing PHPMyAdmin or another GUI tool to execute the SQL and create the table.

Sign in to reply to this post

Sally

Thanks for the tip. The problem seemed to be that my testing server is a subdir in my site and since we've not gone live I had both my remote and testing server pointing there so I didn't accidentally post files to the wrong directory. I'm not sure that's the best way to keep from making a dumb mistake, but it's what I was doing. Anyways, when I changed it so both pointed to the main directory, it created the database table. I hope I can change it back to the testing subdir until we go live without problems.

Thanks, Jason.

ps - for your signature, I think you mean 'were' not 'where'

Sign in to reply to this post

Jason ByrnesWebAssist

should be fine to have the settings point to the subdirectory, as long as the URL Prefix and Host directory settings are both pointing to the same subdirectory.

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