Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 13th, 2008, 09:30 PM
Registered User
 
Join Date: Feb 2004
Location: , Selangor, Malaysia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to auxiora_nemesis Send a message via AIM to auxiora_nemesis
Default Cannot create record, directory exist

Hi,

Could anyone help me to solve this prob? When im trying to create a new record (using a web-based system), it says Directory Exist. FYI, I had no problem when tried to update existant record.

Tested on XAMP, it's working fine but only getting the error when im using single installation on Apache, mysql enterprise and PHP5 (running on Windows based).

Kindly advise

regards,
suerie
Reply With Quote
  #2 (permalink)  
Old April 13th, 2008, 11:04 PM
Registered User
 
Join Date: Feb 2004
Location: , Selangor, Malaysia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to auxiora_nemesis Send a message via AIM to auxiora_nemesis
Default

It's ok guys.. i've found the solution.
I've tried to create a new record for other system and this error occured.. "Data too long for column...".
So i've searched through the internet and found the solution for this error. Seems like it solved my above prob.

Below is the solution that i've referred to:

Go to my.ini and remove the highlighted part
sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”

and restart the MYSQL server.


regards,
suerie
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Check if directory exist ArnArn XSLT 3 November 23rd, 2008 03:44 PM
Insert where record doesn't already exist Neal SQL Server 2000 3 February 4th, 2008 10:09 AM
record exist or not keyvanjan Classic ASP Basics 2 May 5th, 2006 11:39 AM
Return a record that doesn't exist in a table? Unregistered SQL Server 2000 4 May 3rd, 2006 01:27 AM
Record source ... does not exist tunsted Access 2 April 1st, 2004 10:03 AM



All times are GMT -4. The time now is 09:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.