Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 6:08 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 3:24 am 
Offline

Joined: Tue Oct 20, 2009 3:01 am
Posts: 8
I searched the forum and every fix about this error has not worked. It only happens on the customer ui but every customer can login fine. The customer can go to the "buy now" button down at the bottom of the page and once they click that it goes to checkout_payment.php which always loads fine but once they click the "continue" button to go to checkout_confirmation.php it says "Sorry, you don't have access to this page !". The odd thing is if I go to log back in from the link and that error page and login it usually works the next time around and I can get to paypal and pay, if I don't use that link then it will always give me that error. I checked the PHP error log and no errors occurred, I have checked my permission on my session folder and they are 777 and owned by asterisk. All of the files i listed above are also owned by asterisk so I dont think its a permissions issue. I have tested this on firefox, IE7 and 8, and google chrome so its not a browser issue. I really don't know what else it could be. Any help would be greatly appreciated!

Thanks!


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 8:52 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Can you check the ownership of the php session variable.

e.g. if CentOS based, then the command would be chown -R asterisk:asterisk /var/lib/php/session/

Joe


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 12:50 pm 
Offline

Joined: Tue Oct 20, 2009 3:01 am
Posts: 8
Did what you said and still not working.

Here is a ls -l on the folder...
drwxrwxrwx 2 asterisk asterisk 4096 Oct 20 08:38 session


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 12:54 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

What is the complete URL of checkout_confirmation.php when you click it.

Joe


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 1:01 pm 
Offline

Joined: Tue Oct 20, 2009 3:01 am
Posts: 8
It is https://www.mydomain.com/a2billing/cust ... mation.php

Just thought of something... The page before is http, could it be losing the session when transfering to https?


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 1:19 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
That's possible, change to http in the system settings


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Tue Oct 20, 2009 10:50 pm 
Offline

Joined: Tue Oct 20, 2009 3:01 am
Posts: 8
Didnt change anything... one thing I find weird is when it fails and I click on the link to login again it brings me to https://www.mydomain.com//a2billing/customer/ instead of 1 slash like this https://www.mydomain.com/a2billing/customer/. If it has the 2 slashes it works.


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Sat Oct 24, 2009 10:14 pm 
Offline

Joined: Tue Oct 20, 2009 3:01 am
Posts: 8
I found out why this was happening... For some reason I was at https://www.mydomain.com/a2billing/ .... But the link the continue to go to paypal was https://mydomain.com/a2billing/ ... The session was getting lost when the www was not there. After correcting this it is working fine.


Top
 Profile  
 
 Post subject: Re: Sorry, you don't have access to this page !
PostPosted: Wed Nov 03, 2010 12:14 am 
Offline

Joined: Tue Nov 02, 2010 11:43 pm
Posts: 1
just run: service memcached start.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group