HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Stuck on Step 5

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#29995 (In Topic #6884)

Non-joined user

Can someone please help? I'm stuck on step 5 using Quick Installer (verson 3.1.3). I appreciate your help! This is the message that I get: Unfortunately a query has failed [DROP TABLE IF EXISTS values] [<strong>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 'values' at line 1</strong>] Here is the stack trace: File '/home/tycobka/public_html/install.php(7586) : eval()\'d code' Line

118 Function

'get_html_trace' Args



File '/home/tycobka/public_html/install.php(7586) : eval()\'d code' Line

163 Function

'clean_exit' Args

class ocp_tempcode { var $bits = array ( 0 => array ( 0 => array ( ), 1 => 2, 2 => 'QUERY_FAILED', 3 => array ( 0 => 'DROP TABLE IF EXISTS values', 1 => '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 \'values\' at line 1', ), ), ); var $codename = ':container'; }

File '/home/tycobka/public_html/install.php(7586) : eval()\'d code' Line

251 Function

'_db_query' Args

'DROP TABLE IF EXISTS values' array ( 0 => NULL, 1 => 'tycobka_ocf', )

File '/home/tycobka/public_html/install.php(7586) : eval()\'d code' Line

780 Function

'_db_drop_if_exists' Args

'values' array ( 0 => NULL, 1 => 'tycobka_ocf', )

File '/home/tycobka/public_html/install.php' Line

7149 Function

'drop_if_exists' Class

'database_driver' Type

'->' Args

'values'

File '/home/tycobka/public_html/install.php' Line

6835 Function

'step_5_core' Args



File '/home/tycobka/public_html/install.php' Line

6249 Function

'step_5' Args



Back to the top
 
Posted
Rating:
#29999
Avatar

Hi. You can stop this from happening by choosing a database prefix when given the option to do so; the default is usually fine.

We'll look into changing ocPortal to stop this from happening, but I can't guarantee anything, as the table which is causing the problem is pretty important, and would require renaming to fix the problem.

Back to the top
 
Posted
Rating:
#30012
Avatar

The next patch release will now give an appropriate error message when a blank table prefix is chosen.
Sorry for the confusion there - it's not a situation anyone (to our knowledge) has tried before.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#30017

Non-joined user

Great,

I am a 100% n00b and starting this ocPortal thing, one of these days…     O_o
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message:



   

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


An error has occurred

Unfortunately a query has failed [INSERT INTO ocp2_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, `get`, post, milliseconds) VALUES (0, 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'http://commoncrawl.org/faq/', 'forum/pages/modules/topicview.php', '54.167.220.36', -764444037, 1496093035, '', '<param>page=topicview</param>\n<param>type=misc</param>\n<param>id=6884</param>\n', '', 0)] [Duplicate entry '19560025' for key 'PRIMARY'] (version: 8-RC3, PHP version: 7.0.19, URL: /forum/topicview/misc/deploying/stuck_on_step_5.htm)

Here is the stack trace:

The staff have been provided a ‘stack trace’ which may help them diagnose the problem.