Differences between Local build versus Remote build
Posted: Sat Oct 04, 2003 7:01 am
Hi,
I'm building a site at the moment. I'm building it locally, testing, and ftp'ing working files to the server. All has been well and good 'til recently. Now I find that the remote site is working fine, but although I've DOWNloaded all the remote files to the local server, there's a difference! Global variables for db values etc. have been replaced so there's no problem there. The symptoms are:
There's a form page which posts to an update/edit page. The update page edits the specific record based on an id variable being posted over. Simple as that. Works fine on the remote live server, but locally the fields are not being updated. I don't get an error either! I know the fields are not being updated 'though because when I check the db manually the records have not been changed and also the page which shows the user what they've updated, has blanks where the updated field info should be.
It's a long shot, but I'm hoping someone else knows exactly what this is because it's happend them.
FYI,
The remote server uses:
Apache 1.3.2.7
PHP4.3.0
MySQL 3.23.54
UNIX box
My local server uses
Apache V.2
PHP4.3.3
MySQL 3.23.49
W2K box
Incidentally (in case it has a bearing), The entry form has a textarea in html and locally I cannot do carriage returns when entering information but I can remotely. Sorry, my questions are always epic. If this is against rules please let me know! Code snippets available on request - just thought my question was long enough for the moment,
Mike
I'm building a site at the moment. I'm building it locally, testing, and ftp'ing working files to the server. All has been well and good 'til recently. Now I find that the remote site is working fine, but although I've DOWNloaded all the remote files to the local server, there's a difference! Global variables for db values etc. have been replaced so there's no problem there. The symptoms are:
There's a form page which posts to an update/edit page. The update page edits the specific record based on an id variable being posted over. Simple as that. Works fine on the remote live server, but locally the fields are not being updated. I don't get an error either! I know the fields are not being updated 'though because when I check the db manually the records have not been changed and also the page which shows the user what they've updated, has blanks where the updated field info should be.
It's a long shot, but I'm hoping someone else knows exactly what this is because it's happend them.
FYI,
The remote server uses:
Apache 1.3.2.7
PHP4.3.0
MySQL 3.23.54
UNIX box
My local server uses
Apache V.2
PHP4.3.3
MySQL 3.23.49
W2K box
Incidentally (in case it has a bearing), The entry form has a textarea in html and locally I cannot do carriage returns when entering information but I can remotely. Sorry, my questions are always epic. If this is against rules please let me know! Code snippets available on request - just thought my question was long enough for the moment,
Mike