Manually created database error
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/cms_tools.html
A lot of information about the Content Manager System can be found in the help/manual. Please read this first before posting any questions! Also check out the demo template that is include with the software.
CMS trouble shooting / FAQ:
viewtopic.php?f=10&t=43245
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/cms_tools.html
A lot of information about the Content Manager System can be found in the help/manual. Please read this first before posting any questions! Also check out the demo template that is include with the software.
CMS trouble shooting / FAQ:
viewtopic.php?f=10&t=43245
Re: Manually created database error
Note that this has nothing to do with the software.
Did you get a response from your webhost?
Did you get a response from your webhost?
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
Yea, I know the error not related with the software. I just want find who have experience to solve this issue.
They replied

They replied
I have no idea about itThe default date format in this server is same as Singapore time and date

Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
Re: Manually created database error
Maybe they can tell you?I have no idea about it
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
I think they also don't know what i'm asking and what is it..... RIP
A lesson for me, DON'T BUY CHEAP SERVER
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
Pablo, Did you have any suggesting on web hosting provider that 100% combability with WWB without configure this kind of issue ?
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
Re: Manually created database error
This is not a matter of compatibility.
You should be able to create the databases with any web host that supports MYSQL.
However, you will need to figure out what the default date format for the server is.
Or ask someone who has more knowledge about MySQL.
You should be able to create the databases with any web host that supports MYSQL.
However, you will need to figure out what the default date format for the server is.
Or ask someone who has more knowledge about MySQL.
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
A Good news is, i success create the SQL manually
BUT, The bad news is. I still getting the same error while i login with the admin.......
anymore idea ?
Code: Select all
--
-- Table structure for table `CMS_PAGES`
--
CREATE TABLE `CMS_PAGES` (
`id` int(10) unsigned NOT NULL auto_increment,
`category_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`content` text NOT NULL,
`home` tinyint(1) NOT NULL default '0',
`visible` tinyint(1) NOT NULL,
`create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_by` varchar(255) NOT NULL,
`last_update_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`last_update_by` varchar(255) NOT NULL,
`views` int(11) NOT NULL,
`menu_index` smallint(4) NOT NULL,
`url` varchar(255) NULL,
`extra_data` varchar(255) NULL,
`title` VARCHAR(100),
`description` VARCHAR(255),
`keywords` VARCHAR(255),
`seo_friendly_url` VARCHAR(100),
`parent_id` int(11) DEFAULT NULL,
`search_index` int(1) DEFAULT '1',
PRIMARY KEY (`id`));
--
-- Table structure for table `CMS_SEARCH_WORDMATCH`
--
CREATE TABLE `CMS_SEARCH_WORDMATCH` (
`page_id` int(10) unsigned NOT NULL,
`word_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`page_id`,`word_id`));
--
-- Table structure for table `CMS_SEARCH_WORDS`
--
CREATE TABLE `CMS_SEARCH_WORDS` (
`id` int(10) unsigned NOT NULL auto_increment,
`word` varchar(50) NOT NULL,
PRIMARY KEY (`id`)) ;
BUT, The bad news is. I still getting the same error while i login with the admin.......
anymore idea ?
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
Re: Manually created database error
What is the error?
What is your configuration?
Can you please be more specific?
What is your configuration?
Can you please be more specific?
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
This is the error
The code i use for create the SQL have send above
I have done created the SQL manually, while i try login to the cms admin. Get this error.Invalid query: Invalid default value for 'last_update_date'
The code i use for create the SQL have send above
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
Re: Manually created database error
It looks like it's still not configured correctly.
This is a server related issue.
This is a server related issue.
- wwonderfull
-
- Posts: 1586
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Manually created database error
just dropping an opinion if you want you can get a webhost from hostinger(dot)com or whois(dot)com or even bluehost(dot)com all of them have a decent price with good and compatible service.
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
Thanks for suggestionwwonderfull wrote: Sat Mar 12, 2022 10:47 am just dropping an opinion if you want you can get a webhost from hostinger(dot)com or whois(dot)com or even bluehost(dot)com all of them have a decent price with good and compatible service.

Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com
Re: Manually created database error
The sql generated by wwb contains:
last_update_date TIMESTAMP NOT NULL,
so the issue could be the sql mode NO_ZERO_DATE.
I got the same error when using XAMPP.
In the SQL file my.ini there is:
sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
When I changed this to:
sql_mode=NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION
the table was created successfully with no error message.
If you can find the equivalent file on your server and remove the NO_ZERO_DATE then this might solve the problem.
BUT, I am no expert in SQL options and although this seems to work on my XAMPP system, it may not be applicable on a 'live' server.
On my Linux server I do not get the error message.
last_update_date TIMESTAMP NOT NULL,
so the issue could be the sql mode NO_ZERO_DATE.
I got the same error when using XAMPP.
In the SQL file my.ini there is:
sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
When I changed this to:
sql_mode=NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION
the table was created successfully with no error message.
If you can find the equivalent file on your server and remove the NO_ZERO_DATE then this might solve the problem.
BUT, I am no expert in SQL options and although this seems to work on my XAMPP system, it may not be applicable on a 'live' server.
On my Linux server I do not get the error message.
-
-
- Posts: 40
- Joined: Fri Jan 21, 2022 12:44 pm
Re: Manually created database error
Sorry bro, i tried. Still not from me. But i found a solution.WWBman wrote: Sat Mar 12, 2022 12:51 pm The sql generated by wwb contains:
last_update_date TIMESTAMP NOT NULL,
so the issue could be the sql mode NO_ZERO_DATE.
I got the same error when using XAMPP.
In the SQL file my.ini there is:
sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
When I changed this to:
sql_mode=NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION
the table was created successfully with no error message.
If you can find the equivalent file on your server and remove the NO_ZERO_DATE then this might solve the problem.
BUT, I am no expert in SQL options and although this seems to work on my XAMPP system, it may not be applicable on a 'live' server.
On my Linux server I do not get the error message.
Use Hostinger... All my issue manage to solve, no even need to create the database manually.
Thanks for help
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
https://odeysoft.com