Menu

Problem with database (rompr-1.07)

simenon s
2017-09-05
2017-09-11
  • simenon s

    simenon s - 2017-09-05

    Hi, I've just upgraded to the latest version, but I am now getting this error:

    Error While Checking Podcasttable : 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 'ENGINE=InnoDB)' at line 1
    

    BR

     
  • Fat German Productions

    Whoops. Thanks for reporting. I seem to have forgotten to test that release with MySQL...

    I will be releasing a new version very soon but it isn't finished yet. For the time being if you want to fix the error yourself, open

    rompr/backends/sql/mysql/specifics.php
    

    and search and replace all appearances of INTEGER with the word INT (case sensitive)

    It's a simple typo from copying-and-pasting from the SQLite code.

     
  • Anonymous

    Anonymous - 2017-09-07

    Hi.
    thanks for you response, but it did not work me..
    even though i changed things like 'LastUpdate INTEGER UNSIGNED' to 'LastUpdate INT UNSIGNED' same error appears

     
  • Fat German Productions

    Hmm. I just checked and it works for me. Looking at your first post

    'ENGINE=InnoDB)'
    

    implies there's a bracket after InnoDB, that shouldn't be there and it isn't there in my copy. Can I suggest you download the release again and try again?

     
  • Anonymous

    Anonymous - 2017-09-11

    Hi.
    I just downloaded it again, and this time I did not rsync to the folder with the old version, but deleted the old rompr folder (1.05) and copied the new, unzipped folder to htdocs but it is again this error.
    I will just switch back to 1.05 which works nicely...

     
  • Fat German Productions

    Very weird. 1.08 should be out soon. I've tested that here and I'm not getting any error. But then I tested 1.07 too and that also worked for me.

     
  • Anonymous

    Anonymous - 2017-09-11

    Shall I drop the database and let rompr create new tables etc? Would that help maybe?

     
  • Fat German Productions

    Ah. I've found the error. Bad code design :) There's a typo in the released file that I woudn't have found when I tested it. I've attached a new version of

    rompr/backends/sql/mysql/specifics.php
    

    Please try this with the 1.07 release, I'm pretty sure it will fix the problem.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.