473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Strange error when run on Linux.

Scripts tested on:

Win 98 - PWS PHP & MySQL
Win 2000 Server - IIS PHP MySQL
Win98 - Apache PHP MySQL

Scripts all work fine !!!

Mandrake 9 Apache PHP MySQL

Fail to write, update or edit database using the same scripts...
WHY !! any ideas ?

Jul 16 '05 #1
3 1823
Frank wrote:
Scripts tested on:

Win 98 - PWS PHP & MySQL
Win 2000 Server - IIS PHP MySQL
Win98 - Apache PHP MySQL

Scripts all work fine !!!

Mandrake 9 Apache PHP MySQL

Fail to write, update or edit database using the same scripts...
WHY !! any ideas ?


Many options .. and I'm not good at guessing.
Mostly something about the setup of php.ini, or user rights in MySQL.
Or even .. error in the code.
Could even be register_globals on/off.

More data needed to track down the bug.

/Andreas

--
Registeret Linux user #292411
Jul 16 '05 #2
Can you give us the error
ie. mysql_query("update bla bLA") or die("WARNING:" .mysql_error());

<Frank @ MyPlace.Com (Frank)> wrote in message
news:3f****************@news.btclick.com...
Scripts tested on:

Win 98 - PWS PHP & MySQL
Win 2000 Server - IIS PHP MySQL
Win98 - Apache PHP MySQL

Scripts all work fine !!!

Mandrake 9 Apache PHP MySQL

Fail to write, update or edit database using the same scripts...
WHY !! any ideas ?

Jul 16 '05 #3

No Errors.....

I display the sql query on screen so I can see whats happening...

I click update, I get a copy of the SQL query on screen, I get update
completed, I then take another look at the DB and the update hasn't
happened...

OR:

I add new contacts, click 'ADD' I get the full SQL query which looks
fine, but nothing...

I've just realised that I don't have the MySQL client software
installed..... Could that be it ??
On Mon, 28 Jul 2003 10:39:45 +0200, "louiss" <lo****@equation.co.za>
wrote:
Can you give us the error
ie. mysql_query("update bla bLA") or die("WARNING:" .mysql_error());

<Frank @ MyPlace.Com (Frank)> wrote in message
news:3f****************@news.btclick.com...
Scripts tested on:

Win 98 - PWS PHP & MySQL
Win 2000 Server - IIS PHP MySQL
Win98 - Apache PHP MySQL

Scripts all work fine !!!

Mandrake 9 Apache PHP MySQL

Fail to write, update or edit database using the same scripts...
WHY !! any ideas ?



Jul 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: marc | last post by:
Hello all, I run a web site via a hosting provider on Linux. The web site runs php scripts and one of the scripts writes information to a log file running on the same server as the php scripts....
0
by: Travis Oliphant | last post by:
I have a normal looking setup.py file with a single extension module. When distutils runs (python setup.py build), the module compiles fine, but an error is issued that seems to indicate that gcc...
0
by: nw_moriarty | last post by:
Folks I'm getting a very strange error when I'm using the SocketServer. Has anybody got any ideas? Nigel File...
0
by: Steve | last post by:
Hi, Yesterday I signed up for another dedicated linux server with the hosting company I use and I am having problems getting MySQL 4.1.3 working on it. I've tried just about everything I can...
2
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from...
6
by: Chad | last post by:
I'm not too sure if the question would fall under comp.lang.c or some kind of compiler newsgroup. I'm going to ask anyhow. Given the following: #include <stdio.h> int main(void) { int a =...
11
by: Martin Joergensen | last post by:
Hi, I've encountered a really, *really*, REALLY strange error :-) I have a for-loop and after 8 runs I get strange results...... I mean: A really strange result.... I'm calculating...
3
by: Sheldon | last post by:
Good day, I came across this error during compilation of my program: ******************************************* cc -g -I/local_disk/opt/HLHDF/0_49/include -I/usr/include -c...
1
by: Zbigniew | last post by:
Hi, Compiler: GCC 3.3.5 OS: SuSE Linux (Kernel: 2.6.11) I reorganized my source code and now almost all my header files went to "Include" folder. Now when compiling with -I option I have...
8
by: FBM | last post by:
Hi there, I am puzzled with the behavior of my code.. I am working on a networking stuff, and debugging with eclipse (GNU gdb 6.6-debian).. The problem I am experiencing is the following: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.