Databases are messed up!

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Private
Member
Member
Posts: 74
Joined: 20 Jun 2011, 18:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Databases are messed up!

Postby Private » 12 Aug 2011, 16:10

I have a very big problem.
I wanted to be safe by making an additional forum to test my mods on, of course i did not use phpbb_ prefixes like my old database.

Now I wanted to import the messages of my original forum to the new one to test mods. So I had to restore the backup of the original forum to the new one. But suddenly this restoring also had affect on the original forum.
Nothing worked properly and all posts were gone.

That's why I deleted these new databases and the new forum. But now there is just something wrong with the original databases.
On the forum you can still see that there are topics and posts but you can not read them anymore.

Unfortunately I have no backup and I have no idea how I can make the databases work again!

Hopefully you guys knowanything because this is a serious problem!

Thanks

forum: http://forum.proceeders.be

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 16:13

Last edited by Ooopsie on 12 Aug 2011, 16:15, edited 1 time in total.

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby RMcGirr83 » 12 Aug 2011, 16:14

Before doing that, try resyncing all forums in the ACP.

Private
Member
Member
Posts: 74
Joined: 20 Jun 2011, 18:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby Private » 12 Aug 2011, 16:18


User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 16:22

Go into your ACP and select Forums. On each forum you will see a yellowish circled arrow. That resyncs the forum. Do each one.

Private
Member
Member
Posts: 74
Joined: 20 Jun 2011, 18:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby Private » 12 Aug 2011, 16:24


User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 16:31

What's the error?

Copy and paste it between the code tags.

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby RMcGirr83 » 12 Aug 2011, 16:33

When you click on that icon it will tell you how many topics, etc were found and synced. You also have to do the same thing to subforums found within the forum itself.

Private
Member
Member
Posts: 74
Joined: 20 Jun 2011, 18:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby Private » 12 Aug 2011, 17:01


User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 17:06

And the link would be?

I still think you should load up phpmyadmin and take a look at what your board is pointing to (yoursite.tdl) and where the cookies are being placed.

Also check the prefixes via phpmyadmin.

also as a last resort, you can reinstall without losing any users or posts. More on that later if needed. You'll lose your mods though.

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby RMcGirr83 » 12 Aug 2011, 17:13

Private every single forum I clicked on required logging in and when using your test account a blank white page appears which is usually an indication of a suppressed PHP error.

Basically, no one can see anything.

Private
Member
Member
Posts: 74
Joined: 20 Jun 2011, 18:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby Private » 12 Aug 2011, 17:16


User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 17:17

You are looking for anything that is NOT phpbb_ at the beginning.

I can't see any errors as a guest either. I don't want to create an account.

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Databases are messed up!

Postby Ooopsie » 12 Aug 2011, 17:21

RICH, He's hitting the blank pages also on FAQ and another one so it could be in the html or php but I doubt it.

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Databases are messed up!

Postby RMcGirr83 » 12 Aug 2011, 17:22

html doesn't cause blank pages, PHP errors do.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 63 guests