SQL Syntax Error?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
3/8/2005 2:07:27 PM
Gravatar
Total Posts 2

Re: SQL Syntax Error?

Hi,

I just installed mojoportal on my server. I use following configuration:

Red Hat 9
Mono 1.0.6 release
MySQL-Version 3.23.58
mojo: 20050227

Database is like it was created by the scripts. I'm now testing with xsp. When I open any page, I get that error message.

Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

ByteFX.Data.MySqlClient.MySqlException: You have an error in your SQL syntax near 'ON m.ModuleDefID = md.ModuleDefID WHERE m.PageID = 1 ORDER BY m.ModuleOrder ' at line 1
in <0x000dc> ByteFX.Data.MySqlClient.Driver:ReadPacket ()
in <0x00086> ByteFX.Data.MySqlClient.Driver:Send (ByteFX.Data.MySqlClient.DBCmd,byte[])
in <0x000b7> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (bool)
in <0x0005a> (wrapper remoting-invoke-with-check) ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (bool)
in <0x00077> ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
in <0x0005d> (wrapper remoting-invoke-with-check) ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
in <0x00156> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader (System.Data.CommandBehavior)
in <0x00054> (wrapper remoting-invoke-with-check) ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader (System.Data.CommandBehavior)
in <0x00127> ByteFX.Data.MySqlClient.MySqlHelper:ExecuteReader (ByteFX.Data.MySqlClient.MySqlConnection,ByteFX.Data.MySqlClient.MySqlTransaction,string,ByteFX.Data.MySqlClient.MySqlParameter[],bool)
in <0x0005d> ByteFX.Data.MySqlClient.MySqlHelper:ExecuteReader (string,string,ByteFX.Data.MySqlClient.MySqlParameter[])

Do you have any idea, what I can do?

Thanks,

Tobias
3/9/2005 5:11:35 AM
Gravatar
Total Posts 18439

Re: SQL Syntax Error?

I'm guessing something in the sysntax isn't supported in that version of MySQL. Is upgrading to a newer version of MySQL an option for you?
3/9/2005 1:13:56 PM
Gravatar
Total Posts 2

Re: SQL Syntax Error?

I updated mysql to 4.1. now it works very fine. thanx. besides my version problem, the installation was really simple.

Greetings,

Tobias

(btw. the register-link on the forum-login form is a dead link.)

3/9/2005 1:27:46 PM
Gravatar
Total Posts 18439

Re: SQL Syntax Error?

Glad its working for you. If you use it for a site would you mind if I link to it from my mojo Showcase page?

Can you be more specific about the register link and how to produce the problem. It seems to be working for me no matter what page I'm on.

Thanks,

Joe


You must sign in to post in the forums. This thread is closed to new posts.