Name: Chxta Date: July 13, 2007 at 08:10:34 Pacific Subject: Site not reading from database OS: Ubuntu Linux 6.10 CPU/Ram: 1.7 GHz/1536MB Model/Manufacturer: Acer Aspire 1640z
Comment:
I am administering a website, and one of the pages is not reading the database. Everything is in perfect condition from the back end, and the initial link shows all that needs to be shown. However when you click the link nothing is displayed, no images, no text.
Well, you didn't ask a question, but I'm assuming you are seeking help in solviong your problem. But, you are not providing enough information.
What type of database? What type of technology (PHP, ASP, etc.)? How is the page connecting to the database (some code)? Are you getting errors? What are they? What debugging have you done so far and what were the results?
if you search for 'cow' it shows what you are supposed to see, but when you click on the link for more detail, nothing shows up. Every other link is working.
It appears that the info for the "cow" boot is in the database, as you can access it via other routes and if you click on "Add to Basket" the item name and price are added to the basket. Most likely the code for that link (clicking on the image of the boot on the page returned when you search for 'cow') has a typo.
You or someone will have to look into the PHP code. Hopefully there is a log file to use.
My point is, I don't think it's a database problem, but the link code or the php code that reads from the database is messed up.
Well, it appears to me that the problem is with that particular product (or some products), but not all the products.
If you do a search for "SANITA" you get that same product and many more. When I click on some of the other products, their description pages showed up fine, but that one did not. My guess would be that there is a database entry for that product, but not all the information is present.
But, there's no way for anyone to tell what the exact problem is w/o access to the database and files to debug.
The problem with the page was that a new fabric had been added to the system that hadn't synced up to the website. Currently we have a way for you to synchronise the character based lookup table but not the numeric lookup table (which the fabrics are in). We will look to add the ability for you to syncronise that table in the same was as you do the character table. For now we have syncronised it up manually, if there are any others that need doing please let us know.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE