473,387 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[MySQL] phpBB not displaying topics

Hi there...

Yes, I know there exists a suport forum for discussion about problems
with phpBB, but noone there seems to know the solution to my problem...
so I ask here.

I've been messing around with phpbb_ tables in my database... I'm trying
to convert a incomplete Ikonboard forum to phpBB, and had to do lots of
stuff manually (which is fine as I'm familliar with MySQL). And, now I'm
stuck and can't figure out the problem...

The forum in question is:
http://fly.srk.fer.hr/~nick/remorkeri/phpBB2/

The situation is this:
a) from the outside:
On index.php I can see numer of topics, number of posts and info about
last post. On viewforum.php I get "There are no posts in this forum.".
b) from the inside:
select post_id, topic_id, forum_id from phpbb_posts;
returns a whole bunch of everything, so this table seems OK.

select post_id, post_text from phpbb_posts_text;
same thing.

select topic_id, forum_id, topic_title from phpbb_topics;
same thing.

So, form the inside everything seems nice. So, why viewforum.php doesn't
see the articles? I tried to figure out the PHP code, but couldn't,
haven't got all the time in the world...

Anyway, can anybody help?

--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
Jul 17 '05 #1
1 2766
Dana Tue, 19 Apr 2005 10:51:00 +0200
Nikola Skoric (ni*******@net4u.hr) kaze...
Anyway, can anybody help?


Wierd piece of software is this phpBB I can say... The problem was this:

mysql> select count(*) from phpbb_topics where topic_first_post_id=1;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
1 row in set (0.00 sec)

mysql> select count(*) from phpbb_topics where topic_first_post_id=0;
+----------+
| count(*) |
+----------+
| 335 |
+----------+
1 row in set (0.00 sec)

So, then I realized that the post with the topic_first_post_id=1 was the
one visible... so for the fun of it I did this:

mysql> update phpbb_topics set topic_first_post_id=1;
Query OK, 335 rows affected (0.02 sec)
Rows matched: 336 Changed: 335 Warnings: 0

And now I can see all of my topics... ~:-\ Although they are sorted in
somewhat randomly manner and "Guest" is Author of all of the topics...
but at least I've moved a bit :-)
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: iisath | last post by:
Hello, Trying to get help with this situation. I have installed PHPBB, PHP (4X) and MySQL 4.1. This is how I started out. 1. Installed MYSQL - ran setup - did FULL install - and entered in...
1
by: g8z | last post by:
Greetings! It is with great pride that I announce the release of FlashBB, the newest member of the TUFaT.com family of products! FlashBB is a PHP / MySQL - driven bulletin board, sporting a...
1
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
7
by: Eric | last post by:
Hi, Any suggestion to Rapid Application Dev with postgreSQL ? I have a small app to make. I would prefer open-source solution if possible. I also would like to developp on my linux box but...
3
by: jcharth | last post by:
Hello a friend of mine was running phpbb on his site and the site got hacked. I am starting a new forum site and i installed punbb. Phpbb has many many nice features that punbb does not have. I had...
2
by: Saloc | last post by:
Hi all Now I have WAMP up and running designing in Dreamweaver, I have this question when creating a mysql data base to run PHPBB foums on and some sort of PHP photo gallery. How do i...
5
by: Adotek | last post by:
Hi All, I am looking to add a forum to our PHP/mySQL website. I have decided to get an off-the-shelf solution as it seems there are plently of excellent packages available - No point in...
0
by: mbatestblrock | last post by:
Hi all, this is a pretty basic question that I searched for and didn't find anything that I think someone could tell me pretty quick, and if so I would be thankful. I am wanting to install PHPbb...
1
by: BlackWater | last post by:
I am trying to put up a phpBB forum on my website, but I keep getting this message after the last step. How am I supossed to get access? I know my user name and password are correct yet it denys me...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.