Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: Gavcox on April 05, 2008, 11:55:25 AM

Title: Upgrading from 1.1.4
Post by: Gavcox on April 05, 2008, 11:55:25 AM
I am trying to upgrade all the files have gone through but got a query.Im very new to this sort of thing so please tyr and keep it simple.

query is

This query:

    ALTER TABLE smf_smileys
    ORDER BY LENGTH(code) DESC;

Caused the error:

    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 'LENGTH(code) DESC' at line 2
Title: Re: Upgrading from 1.1.4
Post by: babjusi on April 05, 2008, 12:51:15 PM
Quote from: Gavcox on April 05, 2008, 11:55:25 AM
I am trying to upgrade all the files have gone through but got a query.Im very new to this sort of thing so please tyr and keep it simple.

query is

This query:

    ALTER TABLE smf_smileys
    ORDER BY LENGTH(code) DESC;

Caused the error:

    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 'LENGTH(code) DESC' at line 2

Have a look at the below link.

http://docs.simplemachines.org/index.php?topic=1079.msg2548#msg2548
Title: Re: Upgrading from 1.1.4
Post by: Gavcox on April 05, 2008, 01:41:43 PM
I done a fresh install and works fine thanks..but what i have now is

Performance Warning
The cache directory is not writable - this will adversely affect the performance of your forum.

I have changed the permissions for the cache so it is writable but still getting this message
Title: Re: Upgrading from 1.1.4
Post by: brygida on April 05, 2008, 07:45:58 PM
Quote from: babjusi on April 05, 2008, 12:51:15 PM
Quote from: Gavcox on April 05, 2008, 11:55:25 AM
I am trying to upgrade all the files have gone through but got a query.Im very new to this sort of thing so please tyr and keep it simple.

query is

This query:

    ALTER TABLE smf_smileys
    ORDER BY LENGTH(code) DESC;

Caused the error:

    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 'LENGTH(code) DESC' at line 2

Have a look at the below link.

http://docs.simplemachines.org/index.php?topic=1079.msg2548#msg2548

Thank you for your post !
I had same problem and I just applied with success what was in the post you suggested.
Title: Re: Upgrading from 1.1.4
Post by: babjusi on April 05, 2008, 07:51:32 PM
You are welcome brygida :)
Title: Re: Upgrading from 1.1.4
Post by: metallica48423 on April 06, 2008, 02:40:38 AM
Quote from: Gavcox on April 05, 2008, 01:41:43 PM
I done a fresh install and works fine thanks..but what i have now is

Performance Warning
The cache directory is not writable - this will adversely affect the performance of your forum.

I have changed the permissions for the cache so it is writable but still getting this message

are you sure the change was successful?  proper folder ownership on the folder as well?  If its not writable by the webserver it will throw that error.  Alternatively you may be able to disable caching in admin > server settings.  But you won't be able to take advantage of file-based caching then
Title: Re: Upgrading from 1.1.4
Post by: Apllicmz on April 06, 2008, 06:29:31 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi275.photobucket.com%2Falbums%2Fjj306%2Fplilisilva%2Fsshot-1-27.png&hash=bbf0be4496506477657eefb84df3e973faac72bf)

http://docs.simplemachines.org/index.php?topic=1079.msg2548#msg2548

i see that erro i try here and she work 100% done
Title: Re: Upgrading from 1.1.4
Post by: greyknight17 on April 07, 2008, 03:34:51 PM
Gavcox: Did you CHMOD that cache folder to 777?

joomlamz, did you code change fix the error you have?