Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6798111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:41:27+00:00 2026-05-26T18:41:27+00:00

my facebook app developed in CodeIgniter, hosted on hostgator, was working fine before i

  • 0

my facebook app developed in CodeIgniter, hosted on hostgator, was working fine before i switched to secure URL. Here is some information about app.

Site URL: http://sitename.com/
canvas URL: http://sitename.com/fbapp/
canvas Secure URL: https://secure10977.hostgator.com/~cpanelUser/sitename.com/fbapp/

CodeIgniter Config file:
$config[‘base_url’] = ‘https://secure10977.hostgator.com/~cpanelUser/sitename.com/fbapp/’;

Now when i use application it loads fine but when i try to fetch somedata using ajax on app page i get a URL not found error. Ajax will post data to following URL.

https://secure10977.hostgator.com/~cpanelUser/sitename.com/fbapp/canvas/match

where canvas is controller and match is method.

Can someone tell me why do i get a 404-page not found error on ajax call?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:41:27+00:00Added an answer on May 26, 2026 at 6:41 pm

    Looking at your ajax url, it looks like you are using pretty urls? Take a look in your .htaccess file for any offending rewrites.

    The main application will work fine as it will just call the default document (index.php).

    An easy way to test this would be to try to access

    https://secure10977.hostgator.com/~cpanelUser/sitename.com/fbapp/index.php/canvas/match
    

    Good luck 🙂

    UPDATE:

    Long shot, but trying to imagine what your .htaccess rewrite rule looks like, if it is something like:

    RewriteRule ^(.*)$ index.php/$1 [L,QSA]
    

    Try changing it to:

    RewriteRule ^(.*)$ /~cpanelUser/sitename.com/fbapp/index.php/$1 [L,QSA]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developed a simple ASP.NET app, it was working fine, but now I can't
I have developed a sample app, which uses Facebook features, and it is working
I'm trying to do some sort of strange Facebook App which notifies developers of
I am working on a facebook app when i try to invoke js for
I built a Facebook app which allows users to post some news to their
I have developed an iphone app that needs the email address of a facebook
I want to integrate facebook(like),twitter,google plus(bubble button) into my android app, which is developed
My sample Facebook app was working great yesterday in Chrome. The page integrates Silverlight
i have developed a php based app for facebook. now i need to push
I've developed a Facebook page tab that doubles up as a website style app:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.