1
mrphilong
Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/1 12:17

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


This error has returned again(?)

When replying to a topic or creating a new topic in Newbb 4.3, it shows "ERROR: Forum not selected!"

I've try updating the module, repair the tables still doesn't fix the issue.

A weird bug in the Newbb admin console I tried "Set permission directly by group" a message "Sorry, you don't have the permission to access this area"

However, I was able to "Set default permission template" and "Apply default permission"!

My last resource, I updated to Newbb 4.4 and the above errors still exits.





2
Roby73
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/3 3:08

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I have not problem whit "Set permission directly by group" and error to "ERROR: Forum not selected!".
My version is 4.3 rev 10120 by alfred.

3
irmtfan
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/4 4:55

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


mrphilong:
You should give us detail information.
is this a new installation or an upgrade?

if this is an upgrade:
you upgrade from which version to which version EXACTLY?

what is your xoops, php, mysql version.

how do you upgrade. copy all files correctly or not.
do you have any error, warning, notice? (copy paste all logs here)

4
mrphilong
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/4 11:51

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

irmtfan wrote:
mrphilong:
You should give us detail information.
is this a new installation or an upgrade?

if this is an upgrade:
you upgrade from which version to which version EXACTLY?

what is your xoops, php, mysql version.

how do you upgrade. copy all files correctly or not.
do you have any error, warning, notice? (copy paste all logs here)



New installation of newbb 3x worked well for 3-4 years and upgraded to 4.3 has worked well for at least 8moths until now.

Xoops 2.5.5
php: 5.2 and now 5.3.14, I thought updating to 5.3.14 would solve the problem.
mysql: 5.0.92

upgrade newbb by by uploading the new files to new-directory, rename existing newbb to something else and then rename new-directory to newbb.

debug does not show any warning relating to newbb.

5
irmtfan
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/4 12:53

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


so as far as i understand you say you dont touch anything in newbb and this issue suddenly appear when your server upgrade php from version 5.2 to 5.3.14?

that is strange. many people here use newbb on php 5.3.
i suspect that something in your php.ini is changed.
please provide us a phpinfo()


6
mrphilong
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/4 13:24

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

irmtfan wrote:
this issue suddenly appear when your server upgrade php from version 5.2 to 5.3.14?


Issue exists in php5.2, i thought upgrade to php5.3.14 may fix the issue but it hasn't.

phpinfo() : http://ucchau.net/uploads/PHP5.3.14.pdf

7
irmtfan
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/5 3:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


That is very strange to me.
you say you did nothing and suddenly this error appear.
I will investigate your phpinfo but you can ask from your server admins about the recent changes.

8
mrphilong
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/5 4:02

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I am using the same hosting account (same php and mysql) for a different domain and it is ok.

9
mrphilong
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/5 13:17

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Found the problem! It was my .htaccess file!

I moved /public_html/ to point to /public_html/Folder/

I had issued with posting in newbb and news, didn't try any other modules.

Quote:

# Turn on rewrites.
RewriteEngine on

# Add trailing slash if path does not contain a period or end with a slash
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*) http://www.domain.com/$1/ [R=301,L]

# Change http://example.com to http://www.example.com (Optional)
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^/?(.*)$ http://www.domain.com/$1 [R=301,L]

# Only apply to URLs on this domain
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$

# Only apply to URLs that aren't already under folder.
RewriteCond %{REQUEST_URI} !^/Folder/

# Don't apply to URLs that go to existing files or folders.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all those to insert /folder.
RewriteRule ^(.*)$ /Folder/$1

# Also redirect the root folder.
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteRule ^(/)?$ Folder/index.php [L]



Has anyone try moving Xoops from /public_html/ into /public_html/Folder/ with success?

10
Mamba
Re: Newbb 4.3 ERROR: Forum not selected!
  • 2012/11/5 19:31

  • Mamba

  • Moderator

  • Posts: 11256

  • Since: 2004/4/23


Quote:
Found the problem! It was my .htaccess file!

Thanks for reporting the solution to the issue.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

66 user(s) are online (40 user(s) are browsing Support Forums)


Members: 0


Guests: 66


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits