NameSilo

Need Help on SQL Error

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Lakshan

Top Member
Impact
825
Hi, I'm getting this error when I try to add wallpapers to my website.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' )' at line 1

I tried to fix it my self, But I don't have much knowledge on it.

Who can fix this for me?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Could you please show us the query that's returning the error?
 
1
Close
Are you naming the wallpaper as you add them? It almost sounds like a title may have a character the mysql interrupts as something else, such as a ' or " sign. Maybe if you are naming it something like: Tony's Favorite Wallpaper.

If not, will need to know what values you are submitting.
 
1
Close
Could you please show us the query that's returning the error?

Are you naming the wallpaper as you add them? It almost sounds like a title may have a character the mysql interrupts as something else, such as a ' or " sign. Maybe if you are naming it something like: Tony's Favorite Wallpaper.

If not, will need to know what values you are submitting.


I checked the image names on server and they did not contain any characters which interrupt mysql. However I noticed all those wallpapers I tried to upload had 0 bytes as size. I re-uploaded the wallpapers and everything working fine. Thank you very much
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back