hi all,
i have just finished the site www.picturethisframing.co.uk selling online fine arts and have also built a CMS for the owners to update products as needed.
In the CMS, the owners can add, edit or delete particular artists (the categories) and also add, edit or delete each particular artwork which is then assigned within the particular artists. the artists table consists of an artist id, name and a description and the products consist of an id, name, and attributes such as size and price. when entering a product they can also upload an image for it which is also stored within the database as a text field of the file name.
however, on testing locally on my xmapp setup it all works perfectly. however now it is on a live server, the following is happening:
It will add an artist and insert the details into the database fine with no problems. It will also then display the artist on the list of artists page no problems (each artist name links to a next page that display all products by that chosen artist) but when clicked, the url parameter passes the artist id but does not display even the artist name from the recordset that is decided by the url parameter value. Even if the artist has no products within it (which is the case here) it should display a no products available message but is not doing in this case. It seems like an url parameter has been sent but now used.
Secondly, when adding products within the CMS on the live site, it will happily do all the image functions and upload it to the correct places but this time it does not even insert the product details into the database for some unknown reason.
When testing on my local xampp setup, everything works fine until it is uploaded onto my 1and1 linux server.
Any ideas anyone?
I can send you parts of my code if need be to help out!
Gav
|