Navigation

Pligg Support

[16-Oct-2013 18:36:40 UTC] PHP Warning: 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 'ORDER BY saved_id DESC limit 5' at line 1 in public_html/bestseomarketplace.com/libs/db.php on line 479

Possible Answers

    You need to be more specific. You are posting a php warning message. Not a fatal error.

    Where are you seeing this message?

    Can you provide a link to that page?

    Is this on a real host or you're own localhost?

    Help us help you.

    | Posted 284 days ago | Permalink | Hide Replies

    I asked for a link to 1 page where you are seeing this warning. The warning being given to you is most likely not a result of that db file but being caused by something else and the db file is catching the warning and spitting it out. Sending a copy of your db.php file isn't going to do anyone any good.

    | Posted 284 days ago | Permalink | Hide Replies

    its showing on the error log page

    | Posted 284 days ago | Permalink | Hide Replies

    Oh ok... You never said that bit of important information.

    You have whats called a warning. Not a fatal error. It's not crashing your site. The error log is like a window of what's going on behind the scenes. It's good for troubleshooting. If your site is running fine and showing no fatal errors on the front end, I wouldn't be too concerned about it.

    As to why you are getting that warning?.. It would be impossible to tell you without actually being in your server poking around... It could be something as simple as you installed a template that is not compatible for the version of Pligg you are running.

    | Posted 284 days ago | Permalink | Hide Replies

    Okay friend!, i also want to know about the pligg template language. Can u help me find some article on that.

    thanks,

    | Posted 284 days ago | Permalink | Hide Replies

    Templates are independent of languages. You can find all the languages listed in the /languages/ folder. The language set as default, each item can be manipulated by going to the admin panel, and clicking modify language.

    Or you may be asking on what language templates are written in?. That would be Smarty... I suggest this site for more information.

    http://www.smarty.net/crash_course

    | Posted 284 days ago | Permalink | Hide Replies

Who Upvoted this Story

Who Downvoted this Story

Pligg.com's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire pligg.com domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.