Help
Ask questions about how to do or fix things in Arrowchat
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 26 Mar 2012, 23:23

Would it be possible to get the htaccess rules converted to nginx? Or is there an easier workaround. I tried changing the script declarations to include /public/ and the chatbar showed up, but wasn't functioning.
User avatar
Jason
Customer
 
Posts: 2352
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Mar 2012, 01:46

I'm not too familiar with nginx, what is the underlying problem with the current setup? We are planning on moving the external.php file from public to the root directory again. Would this help?
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 27 Mar 2012, 02:57

I would think so unless you call the public folder throughout the script. I imagine you would be refactoring that throughout Arrowchat's code if you moved it back to the root. nginx supports mod_rewrite but can't read htaccess files because it has its own configuration syntax.

Not sure if there are any other issues besides not being able to find external.php without rewrites. As stated before, I simply tried adding /public/ into the header/footer code but the chat bar didn't function correctly and later found out was causing my PHP processes to turn into zombies. Arrowchat 1.0.6 ran fine with nginx as, if I recall, you didn't use mod_rewrite in the htaccess file in that version, just cache headers?
User avatar
Jason
Customer
 
Posts: 2352
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Mar 2012, 03:01

BKim wrote:I would think so unless you call the public folder throughout the script. I imagine you would be refactoring that throughout Arrowchat's code if you moved it back to the root. nginx supports mod_rewrite but can't read htaccess files because it has its own configuration syntax.

Not sure if there are any other issues besides not being able to find external.php without rewrites. As stated before, I simply tried adding /public/ into the header/footer code but the chat bar didn't function correctly and later found out was causing my PHP processes to turn into zombies. Arrowchat 1.0.6 ran fine with nginx as, if I recall, you didn't use mod_rewrite in the htaccess file in that version, just cache headers?

Yes, that's correct, mod rewrite was not used. We'll be going back to that model in an update today that should correct the issues you (and a few others) are having.

Just adding /public/ won't work until we update the files.
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 27 Mar 2012, 04:42

Much appreciated and look forward to it. :)
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 27 Mar 2012, 16:33

Hi Jason,

I tried out the latest hotfix, but the chatbar doesn't load and still turns my PHP processes to zombies. I tested this pretty thoroughly to make sure it was Arrowchat. After installing, it takes longer and longer for PHP to respond to requests until it just stops responding entirely and I get a 502 gateway error from the web server.

The instant I delete arrowchat/boostrap.php and index.php, my PHP processes start responding again. Arrowchat 1.07 works flawlessly on my server. I'm using PHP 5.3.10 with APC 3.1.9.
User avatar
Jason
Customer
 
Posts: 2352
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Mar 2012, 17:06

BKim wrote:Hi Jason,

I tried out the latest hotfix, but the chatbar doesn't load and still turns my PHP processes to zombies. I tested this pretty thoroughly to make sure it was Arrowchat. After installing, it takes longer and longer for PHP to respond to requests until it just stops responding entirely and I get a 502 gateway error from the web server.

The instant I delete arrowchat/boostrap.php and index.php, my PHP processes start responding again. Arrowchat 1.07 works flawlessly on my server. I'm using PHP 5.3.10 with APC 3.1.9.

We are aware that there may be an issue somewhere and are actively working to try and fix it. It seems to only be affecting certain servers.
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 27 Mar 2012, 18:21

Thanks a bunch. If I can provide any other information to help you guys find the issue, please let me know.
User avatar
BlueRay
Free
 
Posts: 2
Joined: 14 Apr 2012, 01:08

 

by BlueRay 18 May 2012, 01:51

its effecting only servers with frontend as NGINX :(
User avatar
BKim
Customer
 
Posts: 25
Joined: 26 Jun 2011, 14:37

 

by BKim 22 May 2012, 14:05

Signatureboy:

With 1.5.11 I haven't had to setup any extra rewrites in nginx for Arrowchat. Hope that helps.
User avatar
pixelsofa1
Customer
 
Posts: 1
Joined: 30 Apr 2013, 15:15

 

by pixelsofa1 19 Jun 2013, 21:01

Has anyone gotten the latest version to work with NGINX ?? I switched my site back to apache, then did the install, then re-enabled NGINX, and of course I lose the ability to access the admin or arrowchat dir..

I am not familer with NGINX and how the configs would need to be re-written to allow access to the dir etc.

(our arrowchat installation is with SocialEngine 4.5)
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]