So we updated out Dolphin to 7.1 and now our forums are getting this error message:
Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/xbrtsorz/public_html/modules/boonex/forum/classes/en/BxDb.php on line 210 Could not connect to MySQL database. Did you properly edit inc/header.inc.php file ?
I went to see what was going on in the header.inc.php and there's pretty much nothing there. And by nothing I mean it's blank. So I'm not sure how this happened or how to fix this. Any help please? :)
Thank you.
|
What header.inc.php are you looking at?
If the one in inc is blank... inc/header.inc.php then not a single part of your site would be working. Not just the forums.
https://www.deanbassett.com |
You better hope your header.inc.php file isn't blank. That's an extremely important file. Do you have a backup one?
EDIT: Correction, I was referring to the one in the /inc/ directory
Nothing to see here |
Okay, I just re-install. Because I was incorrect. Everything was broken. XD
And it was the inc/header.inc.php file. Also, what would cause it to do that?
|
This thing is giving me fits. Okay. So, I just took a look at the inc/header.inc.php and it has stuff in it this time. (Yay!) But when I use Chrome, it will continue giving me this error but when I use IE, it works perfectly fine.
Is this a known issue for chrome users?
|
I have never seen that happen.
Only way it can happens is either.
1) You emptied it. 2) You tried to do a reinstall instead of a upgrade.
Thats a new one. I have never seen it happen before. And those are the only two reasons i can think of that may have caused it.
https://www.deanbassett.com |
Chrome.
Hit ctrl+F5 more than once if you have to. It's the browser. so just keep trying.
https://www.deanbassett.com |
Okay, sorry for my newbieness. This is my first time working with Dolphin and it's been giving everyone fits. But seeing a blank file was like, "Um...wtf?"
Anyways, went back to Modules > Forums and it still gives me:
Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/xbrtsorz/public_html/modules/boonex/forum/classes/en/BxDb.php on line 210 Could not connect to MySQL database. Did you properly edit inc/header.inc.php file ?
Now, when I got to the inc/header.inc.php (opening it with code editor which I can now see), I'm not sure what to edit for it to talk to MySQL. A tutorial or link would be appreciated. Thank you. ;)
|
Chrome.
Hit ctrl+F5 more than once if you have to. It's the browser. so just keep trying.
This worked! :D But I'm also having issues with it on IE. Anyway to fix this?
|
You should not have to touch it.
Does that rest of your site work? That's all we need to know for now. Because if the rest of the site is working then there is nothing wrong with that file. You sometimes cannot take error messages literally.
https://www.deanbassett.com |
having issues with it on IE
Issues meaning what?
Try the same thing. Ctrl+F5
https://www.deanbassett.com |
Ok, and who is your host. Some hosting companies are not compatible with dolphin.
https://www.deanbassett.com |
Okay, taking one step at a time, the rest of the site works. I can get to my other modules but when I try to get to the forums I'm unable to see it due to that error. I continue to press F5 and I will get into it but I cannot edit it. I go to the modules to edit, have to do the F5 spam until I get in but when I click the PENCIL icon for edit, It gives me the "Error". :( |
Ok, and who is your host. Some hosting companies are not compatible with dolphin.
Host company is SonixNetwork.
|
Did you do this before you ran the upgrade?
Step 7
If you have "Forum" module installed then delete forum translations, to do it you need to delete the following folders:
modules/boonex/forum/classes/en/
modules/boonex/forum/js/en/
modules/boonex/forum/layout/base_en/
modules/boonex/forum/layout/uni_en/
Nothing to see here |
Did you do this before you ran the upgrade?
Step 7
If you have "Forum" module installed then delete forum translations, to do it you need to delete the following folders:
modules/boonex/forum/classes/en/
modules/boonex/forum/js/en/
modules/boonex/forum/layout/base_en/
modules/boonex/forum/layout/uni_en/
No, but I will do this. Thank you. :)
|
Okay, I have just done what you suggested and now I'm getting this error:
Fatal error: Call to a member function getRow() on a non-object in /home/xbrtsorz/public_html/inc/utils.inc.php on line 437
|
I don't mean to sound.. well.. suspicious, but If that step was missed during the upgrade, I wonder if any others were too.
Meaning, you may have a botched upgrade that you may end up having issues with. It will be real difficult to track down each one.. Maybe that wont be the case though <crossing fingers>
Nothing to see here |
I don't mean to sound.. well.. suspicious, but If that step was missed during the upgrade, I wonder if any others were too.
Meaning, you may have a botched upgrade that you may end up having issues with. It will be real difficult to track down each one.. Maybe that wont be the case though <crossing fingers>
I'm starting to see that too. -_- Thinking I might just need to go back to square one and just redo the whole thing.
|
Oh and BTW, I was asking if you did that step, not do that step right now..That step should be done before the upgrade.
Honestly, It may be easier for you to put the old 7.0.9 site back (you do have backups right - site and database) and try the upgrade once again. Just a suggestion. But someone may be able to help you out with these errors.
Nothing to see here |
I don't have the backup but I can do it then I will start from the bottom up. |
I don't have the backup but I can do it then I will start from the bottom up.
If you don't have a backup of your site and database BEFORE you did the upgrade, then doing one right now is not really going to help. All you will be doing is backing up a broke site.
Nothing to see here |
What I mean, I don't have it on the computer I'm on right now but we have a backup before it was broken. Sorry, I such have elaborated a little bit more. :) |
Ahhh. gotcha. Had me scared there for a minute.. Nothing to see here |
haha, yeah! XD Sorry for giving you a scare!
This is the first time I've worked with Dolphin and I'm the original person who installed but I'm the one with most web experience. I'm determined to know the ins and out of this baby because I can see a good potential.
|