We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10989
    • 29 Posts
    Hi everyone. I was working on a site I’m creating using 0.9.5 RC2, when I uncovered what looks like a bug. I set up ModX to use a database table prefix different to the default "modx_". When I went to edit an existing page and scrolled down to the TV section, instead of all the TVs I got the following error:

    Line 1. « MODx Parse Error »
    Line 2. MODx encountered the following error while attempting to parse the requested resource:
    Line 3. « Execution of a query to the database failed - Table 'ionode.modx_site_content' doesn't exist »
    Line 4.       SQL: SELECT pagetitle FROM modx_site_content sc LIMIT 10;
    Line 5.       [Copy SQL to ClipBoard]
    Line 6. 
    Line 7. Parser timing
    Line 8.   MySQL: 	0.1111 s	(3 Requests)
    Line 9.   PHP: 	1164588038.9051 s	 
    Line 10.   Total: 	1164588039.0162 s


    Line 3 indicates that it was looking for a table called "modx_site_content", when it should have been looking for "ionode_site_content". I got around the problem by editing the config file to set the table prefix to "modx_", then manually renamed all the tables in the database using phpMyAdmin.

    Is this a known issue?
      • 10989
      • 29 Posts
      I noticed 0.9.5 has been released, but no one has responded to this post. Has this issue been properly investigated?
        • 22303 MODX Staff
        • 10,725 Posts
        Do you have more information on what kind of TV or what code might be triggering that? And have you entered a bug report with the details at http://modxcms.com/bugs/ ?