Jump to content

**SOLVED** easyphp


anatak

Recommended Posts

Hello I am trying to export a table from my home pc to the server.
export using easyphp creates this
[code]

DROP TABLE IF EXISTS `about`;
CREATE TABLE `about` (
  `AboutId` int(11) NOT NULL auto_increment,
  `AboutAuthor` int(11) NOT NULL default '0',
  `AboutTitle` varchar(255) default NULL,
  `AboutText` text,
  `AboutUpdateDate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `AboutPostDate` timestamp NOT NULL default '0000-00-00 00:00:00',
  `AboutHide` tinyint(4) default '1',
  PRIMARY KEY  (`AboutId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2;

[/code]

this results in the following error

MySQL said:
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
 `AboutPostDat

can anyone point me what the correct syntax would be ?

I think this is because of different versions fo MySQL
home computer uses 4.1.9 max
server version is 4.0.23 standard

regards
anatak
Link to comment
https://forums.phpfreaks.com/topic/12625-solved-easyphp/
Share on other sites

  • 2 weeks later...
i have problem with PHP (im noob just starting to make something...so please STEP BY STEP)
i installed easyphp and i use phpmyadmin for install phpnuke...now when i enter phpmyadmin i have databes named phpnuke(94) and i have all tables installed no errors... anyway wut do do next when i try run http://localhost/phpnuke/html/  all i get is this notes...
"

Notice: Undefined index: HTTP_ACCEPT_ENCODING in c:\easyphp1-8\www\phpnuke\html\mainfile.php on line 47

Notice: import_request_variables(): No prefix specified - possible security hazard in c:\easyphp1-8\www\phpnuke\html\mainfile.php on line 64




There seems to be a problem with the MySQL server, sorry for the inconvenience.

We should be back shortly.


"


i wanna try set it on localhost for now to test it so please help me... :)  ???
Link to comment
https://forums.phpfreaks.com/topic/12625-solved-easyphp/#findComment-54452
Share on other sites

  • 3 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.