No times to select on page 2. Getting Error code 404

141 views
Skip to first unread message

Mur Man

unread,
Nov 25, 2014, 12:14:55 AM11/25/14
to easy-app...@googlegroups.com

  1. I have spent hours and hours reading similar posts and modifying code but to no avail. Below is the error code text. It looks like during the ajax request that it might be getting cross posting (http://www. vs. www.) as the request is coming from 
  2. Request URL:
  3.  however the 404 response is coming from :
  4. Host:

My web provider is no help at all as they are located in the Phillipines and some lady named "Jo Ellen" can barely speak English so not expecting much help from them. I am running this on Linux with Php version 5.5 with MySql Server version: 5.1.73. 

I tested and ran on localhost just fine and moved it to my website to no avail.  Another possible issue is the date/time on the server could be causing problem but I tried the solution of adding code to application.php as suggested in related post on this support site. however to no avail.  


I would really like to have this application as a part of my website however loosing hope that I can get this to run on my host provider server. Your help is appreciated.



  1. ----------Error code test from Google Chrome Developer when I select date on calendar---------

  2. Remote Address:
    [2607:f1c0:1000:2013:3460:3fae:75e2:a00b]:80
  3. Request URL:
  4. Request Method:
    POST
  5. Status Code:
    404 Not Found
  6. Request Headersview source
    1. Accept:
      application/json, text/javascript, */*; q=0.01
    2. Accept-Encoding:
      gzip, deflate
    3. Accept-Language:
      en-US,en;q=0.8
    4. Connection:
      keep-alive
    5. Content-Length:
      91
    6. Content-Type:
      application/x-www-form-urlencoded; charset=UTF-8
    7. Cookie:
      ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%226157d34446429e8e132053c97db24969%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A35%3A%222601%3Ae%3A800%3A106f%3A29f6%3A9296%3Afb26%3Ad770%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A108%3A%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F39.0.2171.65+Safari%2F537.36%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1416889869%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D3eb49411df3d347964728138f0e94c0a
    8. Host:
    9. Origin:
    10. Referer:
    11. User-Agent:
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36
    12. X-Requested-With:
      XMLHttpRequest
  7. Form Dataview sourceview URL encoded
    1. service_id:
      13
    2. provider_id:
      85
    3. selected_date:
      27-11-2014
    4. service_duration:
      30
    5. manage_mode:
      false
  8. Response Headersview source
    1. Connection:
      Keep-Alive
    2. Content-Length:
      1363
    3. Content-Type:
      text/html
    4. Date:
      Tue, 25 Nov 2014 04:36:31 GMT
    5. Keep-Alive:
      timeout=2, max=200
    6. Server:
      Apache
    7. X-Frame-Options:
      deny

Mur Man

unread,
Nov 25, 2014, 12:32:36 AM11/25/14
to easy-app...@googlegroups.com
Here is the cross origin request blocked error code information.  I am not sure how to do what the suggestions are to fix this issue (enabling CORS or moving to same domain.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://www.sprinklerfixer.com/easyappointmentz/appointments/ajax_get_available_hours. This can be fixed by moving the resource to the same domain or enabling CORS. ajax_get_available_hours

Tom Le

unread,
Nov 25, 2014, 1:15:07 AM11/25/14
to easy-app...@googlegroups.com
check your base_url in the configuration.php file and .htaccess file to see if they are correct

not sure why your url is has both

easyappointmentz and appointments in it. 

top level of the web server is your host name, right?

http://<whatever it>/ -> /var/www/html (apache server setting)

then the apps below that,

/easyappointments or /webmail or whatever apps

so my look like this http://mars/easyappointments

Hope this helps

Mur Man

unread,
Nov 25, 2014, 11:19:16 AM11/25/14
to easy-app...@googlegroups.com
Take a look at the attached file with screen shots and see if it makes sense. There is something I believe in the "general_funtion.js" that might be causing issue when sending ajax get_available_hours
easyappointmentscreenshots.docx
Reply all
Reply to author
Forward
0 new messages