Please upgrade here. These earlier versions are no longer being updated and have security issues.

Problems with 2.1.6

DenisSDenisS My brain hurts Buriram ✭✭

I have many

«1

Comments

  • DenisSDenisS My brain hurts Buriram ✭✭

    manipulation of posts errors: I installed a fresh 2.1.6 on my server in a new > .com I accessed my working database and worked both my old 2.0.18.8 and the new installation. So i could test any error on both. 2.0.18.8 is as normal and works fine. But the new installation I'm having many errors. I was not sure at first if the theme was a problem but no as i try many themes. It seems like an indexing problem somewhere: I done a repair on on the database. Attached are the first errors.

  • DenisSDenisS My brain hurts Buriram ✭✭

    Delete post error I cannot delete a discussion it was open at the time:

  • DenisSDenisS My brain hurts Buriram ✭✭

    Delete post error I cannot delete a discussion it was open at the time:

  • DenisSDenisS My brain hurts Buriram ✭✭

    Looking at some discussions Error:

  • DenisSDenisS My brain hurts Buriram ✭✭

    I have just started to go through my new setup forum. The first thing i see is this. Any Ideas ?? Info Need to re-index theme cache Info Need to re-index plugin cache Notice Undefined offset: 1 /home3/han/public_html/isaanexpats/plugins/IndexDiscussionImage/class.indexdiscussionimage.plugin.php line 43. /home3/han/public_html/isaanexpats/plugins/IndexDiscussionImage/class.indexdiscussionimage.plugin.php line 29. /home3/han/public_html/isaanexpats/library/core/class.pluginmanager.php line 705. /home3/han/public_html/isaanexpats/library/core/class.pluginmanager.php line 638.

  • peregrineperegrine MVP
    edited November 2014

    @DenisS said: I have just started to go through my new setup forum. The first thing i see is this. Any Ideas ?? Info Need to re-index theme cache Info Need to re-index plugin cache Notice Undefined offset: 1 /home3/han/public_html/isaanexpats/plugins/IndexDiscussionImage

    @DenisS - if you look at the error message, there is a clue - you see the word IndexDiscussionImage in your error message that you posted.

    here is the concept.

    • If you have a problem with a plugin you post your problem under the plugin as well.
    • you see the word IndexDiscussionImage in your error message. this is the clue.

    • if you turn off debug mode and the problem goes away and the plugin works, no problem, since it is a notice message.

    • if the plugin cause a problem after turning off debug .....
    • if you disable IndexDiscussionImage and the problem goes away. then you can logically guess that the problem is being caused by that plugin
    • then the next step is post your issue by going to IndexDiscussionImage, then choose ask a question.

    http://vanillaforums.org/discussion/comment/220031/#Comment_220031

    • then the next step is to add to the spreadsheet in this discussion and make a comment in the discussion detailing error.

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-dont-work-in-vanilla-2-1/p1

    the idea originally was for people to keep adding to this discussion link

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-dont-work-in-vanilla-2-1/p1

    if you see a theme or plugin is not listed as working or not working - it means that either no one uses that plugin or theme or more likley they didn't take the time to add to this discussion link below - which would have been a step in helping other people in the community.

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-dont-work-in-vanilla-2-1/p1

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    Bleistivthgtonight
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    I just tested this with 2.1 and it works fine, maybe only the css needs adjusting to your theme, but it does not give me any errors.

    Seems that having debug on breaks plugins ?

  • peregrineperegrine MVP
    edited November 2014

    @vrijvlinder said:
    I just tested this with 2.1 and it works fine, maybe only the css needs adjusting to your theme, but it does not give me any errors.

    Seems that having debug on breaks plugins ?

    • As always test your forum with debug disabled UNLESS you are trying to isolate an error or get the specific detail of an error. if you get an error "Something Has gone wrong" or a blank page then you can turn debugging on. Otherwise running a forum with debug on, you are not doing things properly.

    • Running a forum with debug on and not doing things logically may result in inability to determine issues.

    • With debugging on - some plugins may display warning or notification messages that are NOT fatal and do not cause the plugin to malfunction when the plugin is running in a normal environment with debug off. The plugin author may choose to rectify warning and notice messages displayed via php, if they desire, it does not however mean plugin malfunctions.

    • Just because you see a notice message does not mean the plugin is broken. Some messages will cause a fatal error.

    • The proper way to test plugins and isolate problems.

    • disable all other plugins via the dashboard. and go to the default theme. and turn debugging off.
      if the plugin works it works. if you get an error "Something Has gone wrong" or a blank page then you can turn debugging on to get specific error details.

    • if you think another plugin confilcts with another plugin enable both of them.

    • if a person is not actively debugging a blank page and does not see a Something Has gone wrong, and otherwise has no issues they should not be in debug mode. Simple as that.

    $Configuration['Debug'] = TRUE ; // active debugging.

    // No debugging enabled.

    if the $Configuration['Debug'] statement does not exist in config.php
    $Configuration['Debug'] = FALSE ; // turn off debugging

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • DenisSDenisS My brain hurts Buriram ✭✭

    I'm going through the forum with the best of my ability, which I know is limited. I having problems determining if it's a plugin, 2.1.6 or database error. I have solved a few of my queries and i'm keeping a record of why and how the error manifested I solved each one. But this is taking some time. I have turned debug on and off while doing this.

  • DenisSDenisS My brain hurts Buriram ✭✭

    I have turned off all plugins most seems to working except my "inbox" i tried with the debug on and got this error:
    _ "PDO Statement failed to prepare"
    Unknown column 'uc.DateConversationUpdated' in 'order clause'

    LOCATION: /home3/han/public_html/isaanexpats/library/database/class.database.php

    289: if (!is_null($InputParameters) && count($InputParameters) > 0) {
    290: $PDOStatement = $this->Connection()->prepare($Sql);
    291:
    292: if (!is_object($PDOStatement)) {

    293: trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR);

    294: } else if ($PDOStatement->execute($InputParameters) === FALSE) {
    295: trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
    296: }
    297: } else {

    BACKTRACE:
    [/home3/han/public_html/isaanexpats/library/database/class.database.php] PHP::Gdn_ErrorHandler();
    [/home3/han/public_html/isaanexpats/library/database/class.database.php 293] PHP::trigger_error();
    [/home3/han/public_html/isaanexpats/library/database/class.sqldriver.php 1650] Gdn_Database->Query();
    [/home3/han/public_html/isaanexpats/library/database/class.sqldriver.php 674] Gdn_SQLDriver->Query();
    [/home3/han/public_html/isaanexpats/applications/conversations/models/class.conversationmodel.php 160] Gdn_SQLDriver->Get();
    [/home3/han/public_html/isaanexpats/applications/conversations/controllers/class.messagescontroller.php 411] ConversationModel->Get2();
    [/home3/han/public_html/isaanexpats/applications/conversations/controllers/class.messagescontroller.php 411] MessagesController->Popin();
    [/home3/han/public_html/isaanexpats/library/core/class.dispatcher.php 350] PHP::call_user_func_array();
    [/home3/han/public_html/isaanexpats/index.php 46] Gdn_Dispatcher->Dispatch();_

    I haven't a clue how to fix this, vrijvlinder did say something about try with debug off so i tried but still "whoops" error.
    Any help would be very welcome, as if get this i will start turning on plugins and getting the new 2.1.6 online.

  • peregrineperegrine MVP
    edited November 2014

    @Denis,

    the last time you had this error, you were told to run utility/structure several times! Did you?

    • have you run /utility/structure?

      • if not, say NO.

      • then if you said No,

      • run /utility/structure

    • did you run /utility/structure several times

      • if not, say NO.

      • then run it several times

    Ok, now that you've run /utility/structure several times.

    does it say success after you run /utility/structure several times.

    if it says failure please run /utility/structure several times.


    Here is how to run /utility/structure

    e.g. if your forum is located at http://example.com then

    http://example.com/index.php?p=/utility/structure

    or if you use rewrite urls's you could also type

    http://example.com/utility/structure

    if you see the button "Run Utility and Data Scripts" click it.

    if you have a problem still, report back exactly what steps you just did.

    re-read this comment several times.

    you may also want to read this comment

    http://vanillaforums.org/discussion/comment/220396/#Comment_220396

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • if you run /utility/structure and you get this exact error

    then use phpmyadmin and go to your database and

    run this sql command
    
    alter table GDN_Tag drop index UX_Tag
    

    and then run /utility/structure.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    kirkpa31
  • peregrineperegrine MVP
    edited November 2014

    if you get a WHOOPs error or see this screen

    then see this link below and carefully follow the instructions.

    http://docs.vanillaforums.com/developers/troubleshooting/

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    Bleistivthgtonight
  • peregrineperegrine MVP
    edited November 2014

    As always when you try things, write down what you did, and report the exact steps of what you did to try to solve the problem.

    If you did not run /utility/structure - please see this comment in link below and read the comment 3X

    http://vanillaforums.org/discussion/comment/220447/#Comment_220447

    there are some other tips in this FAQ as well

    http://vanillaforums.org/discussion/comment/220157/#Comment_220157

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • DenisSDenisS My brain hurts Buriram ✭✭

    Thanks now that seems to have work, ok and can get inbox now. I now turning on 2 plugins at a time then testing and doing a word doc, with problems. Thanks again, peregrine.

    peregrine
  • peregrineperegrine MVP
    edited November 2014

    @DenisS

    Thanks now that seems to have work, ok and can get inbox now.

    and what did you do. exactly. so other people will know what you did to solve the problem.

    post what you did. "Instead of saying I followed all your steps", it would be helpful to others to state what steps you did and what solved the issue.

    I now turning on 2 plugins at a time then testing and doing a word doc, with problems.

    once again, it is better to turn one plugin on at a time and test individually.

    also not everyone has word. so posting comment in plain text in comments (see below) is easier to see and more accessible to get help and provide help.

    then if it works.

    • note the version number of the plugin and add it to the spreadsheet/ and or make a comment stating that the plugin worked and what version it was.

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-dont-work-in-vanilla-2-1/p1

    then if it doesn't work.

    • add it to the spreadsheet/ and or make a comment stating that the plugin it didn't work and what version it was.

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-dont-work-in-vanilla-2-1/p1

    also

    when asking a question about a specific theme, plugin, application or locale.

    http://vanillaforums.org/addons

    choose the add-on which you have a question about.
    select "ask a question"
    

    you will see this on all add-ons....

    if you don't follow, re-read this comment again.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • DenisSDenisS My brain hurts Buriram ✭✭

    I have been slowly working towards going live on the new installation, but hit a problem last night. Had another look this morning I had install 11 plugins over and above the stock one's that come with 2.1.6 all was working fine I tried with my favourite theme "Apptastic" because this is the one i want to use. Testing all day and everything was ok, until I decided to bulk move some posts out of one category to another I click move and get the 2.1.6 install screen come up, same if I Click delete & merge. So I go back to the stock 21 thinking maybe a plugin is causing the fault, no still the same so I change back to Bitter Sweet & +Baseline themes and still the same so I think I better fill in the info on the install screen and get I the error database password or other is wrong. I checked and double checked and I know all is right. Because the website it would not be working at all if there were wrong. !

  • usually if you see an install screen it means you have no config.php

    it you get user password error for database - it is because you password or username to the database you want is incorrect.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    mcu_hqvrijvlinder
  • DenisSDenisS My brain hurts Buriram ✭✭

    I have just empted cache, turned on debugger plugin and set TRUE in config and no error reported.

  • http://vanillaforums.org/discussion/comment/220452/#Comment_220452

    the way to debug never changes. you seem to forget.

    test one plugin at a time. disable all others.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
«1
Sign In or Register to comment.