473,698 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1828
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_global s 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("up date bla bLA") or die("WARNING:" .mysql_error()) ;

<Frank @ MyPlace.Com (Frank)> wrote in message
news:3f******** ********@news.b tclick.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****@equatio n.co.za>
wrote:
Can you give us the error
ie. mysql_query("up date 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
1862
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. The directory where the log file is has a chmod of 777. Now as of about 48hrs ago everytime I attempt to execute the php script (via a url call) that writes to a log file it reaches the following line of code and the code seems to terminate...
0
1109
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 is being called with a "blank" input file (and gives an error). It appears that the spawn process inside of distutils is generating two calls: one that succeeds in compiling the module (it takes a while to compile) and another that is giving an...
0
1060
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 "/scratch1/nigel/c6/phenix-1.08a/build/intel-linux/python/lib/python2.4/SocketServer.py", line 468, in process_request_thread
0
2944
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 think of to login via the MySQL client but get a variation of the following error every time: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2
1968
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 std::exception. We have a base class which all processes derive from which is always instantiated in main surrounded by a try/catch(std::exception) which catches all exceptions that have not be handled at a higher level. The catch block cleans up and...
6
1500
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 = 0; if(a == 0) {
11
2592
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 temperatures. T = 20 degrees at all times.... The 2D T-array looks like this:
3
1359
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 msgpps_functions.c In file included from /usr/include/stdio.h:34, from msgpps_functions.c:10: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/include/stddef.h:213: error: syntax error before "typedef"
1
3479
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 plenty of problems with system include files: "conflict with previous declaration"
8
3209
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: Whenever I declare the sockaddr_in structure inside the main, the debugger crashes at line X*, not being able to access argv parameters (see code below). It is very strange.. by only being there, sockaddr_in does not allow me to question argc...
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9161
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8867
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6522
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.