User can not Dismiss announement - Ajax Error - Board Announcements
User can not Dismiss announement - Ajax Error
please help.
-
- Registered User
- Posts: 150
- Joined: Wed Mar 21, 2012 1:29 pm
- Contact:
Re: User can not Dismiss announement - Ajax Error
- noth
- Registered User
- Posts: 2508
- Joined: Fri Jan 07, 2005 7:10 pm
- Location: North Surrey
- Contact:
Re: User can not Dismiss announement - Ajax Error
wbxpress wrote:User can not Dismiss announement - It shows Ajax Error- not found.
please help.
The page requested (http://www.askwb.com/boardannouncements/close) on your forum results in "404 Not Found nginx/1.4.6 (Ubuntu)"
If you enabled the Url Rewriting option in the ACP, disable that (it only works on apache servers I think). "Apache server’s mod_rewrite module is required for this functionality to work; if this option is enabled without mod_rewrite support, URLs on your board may be broken."
Also never hurts to see if purging the cache helps.
- MattF
- Extensions Development Coordinator
- Posts: 5351
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: User can not Dismiss announement - Ajax Error
VSE wrote:something is wrong with your server settings or your phpbb installation.
Board Rules extension when enabled, also results a 404 error.
So, let me inform you what i did.
I was running phpBB 3.0.12 in my VPS (linode) account.
I was using a custom phpBB style. There were no other styles installed.
I deleted all except /files, /images, config.php.
Uploaded phpBB3.1
Ran a database upgrade. (It was successful).
But, Board was unavailable due to incompatiable style.
Ran a script (fix.php) to make prosilver as the default style.
Everything is working fine except the problem mentioned above (i.e. Ajax Error and 404 Error) and
Only one topic out of thousands is showing the following error:-
Code: Select all
General Error
SQL ERROR [ mysqli ]
[0]
SQL
No values specified for SQL IN comparison
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 536
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 441
CALL: phpbb\db\driver\driver->sql_in_set()
FILE: [ROOT]/phpbb/auth/auth.php
LINE: 599
CALL: phpbb\db\driver\factory->sql_in_set()
FILE: [ROOT]/phpbb/auth/auth.php
LINE: 388
CALL: phpbb\auth\auth->acl_raw_data()
FILE: [ROOT]/viewtopic.php
LINE: 1437
CALL: phpbb\auth\auth->acl_get_list()
-
- Registered User
- Posts: 150
- Joined: Wed Mar 21, 2012 1:29 pm
- Contact:
Re: User can not Dismiss announement - Ajax Error
I did purge cache several times but no luck.
Regards
-
- Registered User
- Posts: 150
- Joined: Wed Mar 21, 2012 1:29 pm
- Contact:
Re: User can not Dismiss announement - Ajax Error
- MattF
- Extensions Development Coordinator
- Posts: 5351
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: User can not Dismiss announement - Ajax Error
Path Settings
Enable URL Rewriting: No
Server URL settings
Force server URL settings: No
When I enable URL rewriting in path settings, then askwb.com/app.php/rules become askwb.com/rules.
That is my server's rewrite module is already enabled.
And when I enable force server URL settings in server URL settings, no changes observed.
P.S. Running NginX server
-
- Registered User
- Posts: 150
- Joined: Wed Mar 21, 2012 1:29 pm
- Contact:
Re: User can not Dismiss announement - Ajax Error
wbxpress wrote:When I enable URL rewriting in path settings, then askwb.com/app.php/rules become askwb.com/rules.
From what I see, you never have app.php visible. something is wrong with your server. it's not this extension, as not a single extension that has a controller file will work for you.
you can try asking for general phpbb support about why your server is rewriting askwb.com/app.php/rules as askwb.com/rules even though you have the URL rewriting option turned off.
nginx configuration and htaccess redirection is most likely the root of your issues.
- MattF
- Extensions Development Coordinator
- Posts: 5351
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: User can not Dismiss announement - Ajax Error
noth wrote:this is only in Chrome Browser though, IE11 is fine, haven't tried Firefox though (as I don't have it)
that was the same issue as the missing htaccess that I had earlier
now that I have the right htaccess, Chrome works fine - it is an 'enable URL rewriting' issue
- noth
- Registered User
- Posts: 2508
- Joined: Fri Jan 07, 2005 7:10 pm
- Location: North Surrey
- Contact:
Re: User can not Dismiss announement - Ajax Error
for me, those modifications (on the 3 first files) has fixed the problem : https://github.com/phpbb/phpbb/commit/a ... ff=unified

- Galixte de EzCom
- Registered User
- Posts: 1101
- Joined: Mon Oct 04, 2004 11:14 pm
- Location: France
- Name: Raphaël M.
- Contact:
AJAX_ERROR_TITLE Not Found on close
When trying to close the announcement I receive the message
AJAX_ERROR_TITLE
Not Found
I understand that AJAX_ERROR_TITLE is because I miss the translation file.
But why can't I close the announcement?
PHPBB board version: 3.1.1
Extension version: 1.0.0 (downloaded from github 2 days ago)
Replicated:
Firefox (33.1)
Chromium (38.0.2125.111 (290379) (64-bit))
Thank you!
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier

-
- Registered User
- Posts: 655
- Joined: Fri Feb 27, 2009 6:13 pm
- Name: Andreas
- Contact:
Re: User can not Dismiss announement - Ajax Error
andreask wrote:Hello,
When trying to close the announcement I receive the message
Read the above posts
- MattF
- Extensions Development Coordinator
- Posts: 5351
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Ajax error: not found (when closing from root)
Code: Select all
/forum/boardannouncements/close?hash=XXX&sid=YYYf&_=ZZZ
from others pages, it works ok:
Code: Select all
/forum/app.php/boardannouncements/close?hash=XXX&_=YYY
Going to disable it now. Please let me now when you've fixed it so I'll update and restore.
Thanks!
» Leggi il mio articolo: TurboLab.it phpBB Essentials: le 10+ migliori estensioni per phpBB 3.1 che ogni community dovrebbe avere
- gianluigi.zanettini
- Registered User
- Posts: 113
- Joined: Fri Sep 07, 2007 9:09 pm
- Location: Ferrara, Italy
- Contact:
Re: Ajax error: not found (when closing from root)
It's also possible the next release version of phpBB might address this.
- MattF
- Extensions Development Coordinator
- Posts: 5351
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: User can not Dismiss announement - Ajax Error
» Leggi il mio articolo: TurboLab.it phpBB Essentials: le 10+ migliori estensioni per phpBB 3.1 che ogni community dovrebbe avere
- gianluigi.zanettini
- Registered User
- Posts: 113
- Joined: Fri Sep 07, 2007 9:09 pm
- Location: Ferrara, Italy
- Contact: