Warning: mysql_fetch_assoc(): showing in PHP 5.2 but not 4
I am building a site that was on 1&1 and it was set on PHP4 but now i have moved the cart integration and needed to move it up aand am now running php 5.2 but an error has now come up within the content of and image that is has a Tom Muck repeat region in it
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in/homepages/6/d132436789/htdocs/beta/product-list.php on line 169
<?php
$None_endRow = 0;
} while ($row_None = mysql_fetch_assoc($None));
if($None_endRow != 0) {
while ($None_endRow < $None_columns) {
echo("<td> </td>");
$None_endRow++;
echo("</tr>");
}?>
the error line being
if($None_endRow != 0) {
the page still functions but how do i clear this error?
thanks in advance
The problem lies here:
mysql_free_result($storeresults);
?>
<table border="0">
<tr>
<td>str_id</td>
<td>str_name</td>
<td>sale_begin</td>
<td>sale_end</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_storeresults['str_id']; ?></td>
<td><?php echo $row_storeresults['str_name']; ?></td>
<td><?php echo $row_storeresults['sale_begin']; ?></td>
<td><?php echo $row_storeresults['sale_end']; ?></td>
</tr>
<?php } while ($row_storeresults = mysql_fetch_assoc($storeresults)); ?>
</table>
mysql_free_result() is destroying the recordset resource before the repeat region.
If you delete mysql_free_result($storeresults); it should work.
Dreamweaver always puts mysql_free_result() below the closing </html> tag, so it looks as though you have accidentally moved it. When working with server behaviors, it's important to remove them cleanly by clicking the minus button in the Server Behaviors panel. Otherwise, you can be left with stray bits of code that cause problems like this.
Similar Messages
-
Messages from one of my contacts shows up on my iPhone but not on my iPad. I don't have similar problems with any of my other contacts. Any ideas on how to troubleshoot this?
Does your iPhone and iPad use the same address for Messages?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Fix Can’t Sign Into FaceTime or iMessage iOS 7
http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
Send an iMessage as a Text Message Instead with a Quick Tap & Hold
http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
My ipod shows up on my desktop, but not in itunes 7.
Let me start out by saying I've never had any itunes + ipod probems before. Everything has run smoothly up until now.
Last week I upgraded my OS to 10.4.7 because I had been running on 10.2.8 since 2001 and itunes wouldn't let me download albums containing music videos. So I decided it was time for the upgrade. I also upgraded to itunes 7 and had been previously using itunes 6. This is when the problems started. Now whenever I plug my ipod into my computer with my firewire cord, my ipod shows up on my desktop, but not in itunes and I am completely clueless on what to do. No error messages pop up or anything. My ipod charges and that's about it. I tried doing the 5 R's, but none of that helps. I have a feeling it's itunes's problem and not my ipod's. I was thinking that maybe if I uninstall itunes 7 and re-install 6, everyting would work again; but I don't know how to uninstall itunes and I don't want to risk losing my library. I'd just like for itunes 7 to recognise my ipod and update it. Can anyone help me?My iPod is a click wheel...I think that's fifth generation?
I've always used my firewire cable to update my iPod. I've tried using USB in the past but for some reason it always says that my iPod has low battery and won't let me update it, so I just use firewire. Can I not use firewire with itunes 7?
I'll try using the USB again. It's laying around here somewhere. Just gotta find it. -
i got a new lenovo desktop windows 8.1,installed itunes and synced my iphone 4 no problems. then i imported a cd of songs which showed up in recently added but not in main library ,therefore it did not sync to the iphone. how can i get new songs to appear in the main library and sync properly
thanks
johnCheck the songs are really not in the Music section of the library by clicking the magnifying glass in the search box and unticking Search Entire Library if it is ticked, then typing in the name of the album. If the tracks still don't show try closing iTunes and deleting a hidden file called sentinel from inside your iTunes folder. This should make iTunes run an integrity check on the database when you start it again. Make sure the tracks are checked before you try syncing again.
tt2 -
5th gen ipod shows up in my computer but not itunes
my 30gb 5th gen ipod shows up in my computer but not in itunes. ive seen the stuff about this but im positive the problem is with the ipod and not my computer.
i run several other ipod through my computer with no trouble and i had my freind try to run it on his with no luck.
any help would be greatly appreciated.One possible reason...
iPod shows up in Windows but not in iTunes
http://docs.info.apple.com/article.html?artnum=93716
Patrick -
IPod Classic shows up in My Computer, but not in iTunes
My iPod Classic shows up in My Computer, but not in iTunes. I've gone through the troubleshooting guide, reset it 3 times and put it in disk mode, reinstalled and updated iTunes and still nothing.
Hey there april_lee!
I have a website for you that can walk you through the troubleshooting steps on your iPod classic. This will help you determine the source of your issue and hopefully get the iPod working for you consistently again. The website can be found right here:
Apple - Support - iPod - iPod classic Troubleshooting Assistant
http://www.apple.com/support/ipod/five_rs/classic/
Thanks for using the Apple Support Communities!
Cheers,
Braden -
I purchased a text tone from Itunes. It shows up in my library, but not as a text tone. Is there a way for me to set it as a text tone for all texts? Or I am stuck with factory settings?
So it is conseidered a customized text tones even if it was purchased through iTunes? Confusing. Since I bought it through itunes as a text tone I assumed it would work. OOOPS
Thanks so much -
When i open up itunes on my computer, it says that i have 2 videos but when i sync it and check my ipod touch, it says i have no videos so it only shows up on my computer but not on my iPod touch and its a 4th Generation.
Update Server
Try:
- Powering off and then back on your router.
- iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
- Change the DNS to either Google's or Open DNS servers
Public DNS — Google Developers
OpenDNS IP Addresses
- Try on another computer/network
- Wait if it is an Apple problem -
Hi guys...I have just got a new computer and want to get my library back up and running on it. However I seem to be missing some of my iTunes music purchases. Any ideas on how to get them back? They show up on my ipad but not my actual itunes account.
Hello there, Capricious13.
There are great pointers in the following Knowledge Base article. Depending on where you see the content and where you want to get it to, this should guide you to putting it in the right place:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/ht2519
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro D. -
How can you see what data usage was for on the bill? It only shows the date and usage but not the reason for the usage.
You can not see this info on VZW's site. There are apps for smartphones that will break down the info though, but by site or what was downloaded
-
my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again
my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again
-
Photos from craig's list show up on Internet Explorer but not on Firefox....how can I fix this?
Try this css for the image: https://hacks.mozilla.org/2009/06/moz-box-shadow/
-
I have an iPhone, Ipad and a Laptop. They all are configured to company's exch.I am not able to sync calendar events on iPad made from my computer or iPhone. It works fine when I make an event from iPad, it shows on computer and iPhone but not vice-versa.
-Me again - it also won't upload the few new pictures I have on the computer onto the iPad without deleting all the photos that are already there....
-
i am not able to format my ipod classic as it is showing in the widows 7 but not in the itunes and when i try to format it, i am not able to format it i am not able to foramt it..
Hello Ephremekka
Start your troubleshooting with the article below to get your iPod Classic to show up in iTunes to be restored.
iPod: Appears in Windows but not in iTunes
http://support.apple.com/kb/TS1363
Regards,
-Norm G. -
Western digital 3tb 2nd hard drive shows up in device manager but not in disk manger.
Internal wd 30eurs drive shows up in device manager but not disk manager. Any suggestions on how to format this drive and partition it. I am running windows 7 64bit os
Open the Windows Control Panel and then select Device Manager which allows you to initialize and format new hard drives installed in your system.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Maybe you are looking for
-
SharePoint foundation 2013 Search is not working
Hi, Search was working 3 days back, but today its not working. So 1. I Recreated Search Service Application 2. Created Content Source and set full crawl. 3. And service application is associated to the web application also. 4. All Application pool id
-
Can i transfer music between 2 iTunes accounts on 1 computer
Can I transfer music from one itunes account to another on the same computer?
-
How do I get back my $ 5.30 I took my gift card
I got an inbox at 1:30 am and was a receipt of an app that I do not buy. Besides I have no iPad.
-
How do you PRECISELY sync two video tracks?
Here's the background: I filmed a video, in the dark, doing sequential movements with light-sources while listening to a metronome (to create a pattern of trail-effects) I then took this video, duplicated it, took the opacity down to 50%, and overlay
-
Could not save "pdf" due to program error-CS6
Hi Everyone. I've gotten then message "Could not save due to program error". I used to get it randomly, and a few times in a row then I'd restart my machine and it'd usually fix it. Now it has been unable to save as a PDF all day today and last night