TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,240
  • Total Topics: 21,353
  • Online today: 722
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 292
  • Total: 293
  • lurkalot

Upgrade failed.

Started by clothahump, April 02, 2010, 11:26:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clothahump

Just tried to install latest package and it has thrown an error.

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IFNULL(mem.realName,art.author) as realName FROM irxj_tp_articles AS art
LEFT' at line 2
File: /home2/ciderpress/public_html/Sources/TPortal.php
Line: 2115

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.11, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

Skhilled

To upgrade your database, upload the upgrade.php and .sql files from the smf 1.1.11 zip to the root forum directory. Then run hxxxp://www.yoursite.com/upgrade.php.

This will upgrade the database but not the files, since they are already upgraded. This may or may not fix the db issue you are having but should help your site anyways. :)

clothahump

I would if I could find it in the package, still searching.

No upgrade for 1.1.11 in the package.

Skhilled

Download SMF 1.1.11. Open the zip and you'll find the upgrade files in there...in the root directory of the zip. ;)

clothahump

Not in the copy I downloaded yesterday, no upgrade and no sql.

Skhilled


clothahump

That would explain why I was unable to find it, downloading now.

Skhilled

Sorry about that. Just got in from work awhile ago and getting settled. :P

clothahump

Updating and creating indexes... Unsuccessful!
This query:

    ALTER TABLE irxj_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

Skhilled

That is a common upgrade issue when upgrading from previous versions of SMF. I wish they'd fix it... Please read this:

http://docs.simplemachines.org/index.php?topic=1079.0

This website is proudly hosted on Crocweb Cloud Website Hosting.