Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<basedir>/index.php/backend was not found on this server. #1

Closed
idovitz opened this issue Jan 22, 2015 · 10 comments
Closed

<basedir>/index.php/backend was not found on this server. #1

idovitz opened this issue Jan 22, 2015 · 10 comments

Comments

@idovitz
Copy link

idovitz commented Jan 22, 2015

After install following error:
/index.php/backend was not found on this server.

mod_rewrite is installed on debian wheezy apache 2.2 / php 5.4 / mysql 5.5

@alextselegidis
Copy link
Owner

Any information at the error logs? That seems to be a server configuration issue and other users seem to have similar problems. E!A is using the CodeIgniter URL rewriting method so I would like feedback in order to fix these issues.

@bkrajendra
Copy link

I was having similar problem related to URL not being recognised
I followed this guide...
https://github.com/bcit-ci/CodeIgniter/wiki/Godaddy-Installation-Tips
everything started working.
Except appointment time problem is still not resolved.

@pguridi
Copy link

pguridi commented Mar 8, 2015

I can confirm this issue, I followed all the installation steps, and I'm getting the same error.
Tried on Ubuntu 14.04 LTS, with Mysql and apache with mod_rewrite enabled.
Maybe there is something missing on the installation notes?. On which platform (or with which configuration) is probed to work out of the box?

@bkrajendra
Copy link

Its the best appointment management system I've ever seen but URL routing is very poorly handled in this project. Some route work with "/" ( http://domain.com/) at the end of path and some don't.
There are some framework like php Laravel5, which handles these issue on different platform very effectively. It'll be nice if this project is ported to Laravel5.

@atenhotep
Copy link

I am essentially having the same problem. On my shared hosting, routing to the backend just doesn't work. The changes suggested above on GoDaddy do not help. I'd love to explore this project deeper to see if it works for my purposes, instead of rolling my own, but I can't get it working.

I am also finding myself unable to actually add things to the backend, if explicitly reach the backend by inserting '/index.php?' after the base directory and before the route. I am bummed! It looks like a great project.

Edit: The fix for me was to change the .htaccess. The final rewrite had to change from
RewriteRule ^(.*)$ index.php/$1 [L]
to
RewriteRule ^(.*)$ index.php?/$1 [L]
Note the addition of the '?' after the 'index.php'. This seemed to allow my RESTful calls to work too,
and I am saving data to the databse. I am now looking forward to exploring this more.

Thanks for creating it.

@bkrajendra
Copy link

@atenhotep , if you are using code from this github repo, you might face many issues.
As per the author of this code use release from the site only. Github repo is not stable and might lead to many problem.

The suggestion to author will be to follow single method or rule for routes. Decide whether to add "/" after base url, as if you're adding it you have to take care that it should not get added latter in any url.
Also always use internal codeigniter methods to get base URL, instead of telling user to enter it.
I hope I'm right!!!

At my side everything is working fine, as I've removed or added few "/" in Ajax JS files. I'll suggest you all to check ur Chrome console for more info to solve routing issue on this repo.

@calvinlloyd
Copy link

@bkrajendra can you share any more insight on how you fixed this routing issue?...maybe specific places where you added the /'s

Or can you share the final ajax js files?

@alextselegidis
Copy link
Owner

Hello, I am currently switching the urls to work without the mod_rerwite. You can get the code from here (github) and try it.

Could be very unstable though, but you will not have the routing problems. Stay tuned for more new commits and updates.

@atenhotep
Copy link

Thanks for keeping me in the loop. I've been busy with
other things, but will be checking it out soon.

In Gratitude,

iam (ishmael aylwin mc intosh)

On 2015-06-25 13:57, Alex Tselegidis wrote:

Closed #1 [1].

Reply to this email directly or view it on GitHub [2].

Links:

[1] #1
[2]
#1 (comment)

@atenhotep
Copy link

I had problems similar to the people reporting issues about clicking
on install being a noop. I was using a clone of the HEAD of the repo.

I will have to look into this more later. I did notice that it didn't
seem
like I was picking up the CSS correctly, because the form looked a mess.

None of the issues that people reported as fixing this issue for them
worked for me, but I have done no digging into my actual installation
as yet.

Thanks Again! I'd love to get it working, although my immediate
use for it has been resolved.

In Gratitude,

iam (ishmael aylwin mc intosh)

On 2015-06-25 13:57, Alex Tselegidis wrote:

Closed #1 [1].

Reply to this email directly or view it on GitHub [2].

Links:

[1] #1
[2]
#1 (comment)

alextselegidis pushed a commit that referenced this issue Feb 21, 2016
Fixed wrong save/delete translations + improvements
alextselegidis pushed a commit that referenced this issue Nov 16, 2020
angelocorreia27 pushed a commit to nebua/easyappointments that referenced this issue Apr 14, 2022
…-translations

Working plans Spanish translations
alextselegidis pushed a commit that referenced this issue Jun 19, 2023
stevenkissack added a commit to stevenkissack/easyappointments that referenced this issue Apr 17, 2024
sudwebdesign added a commit to sudwebdesign/easyappointments that referenced this issue Apr 30, 2024
Fix bad transtyped bool
throw error on login
session_regenerate_id(): Passing null to parameter alextselegidis#1
($delete_old_session) of type bool is deprecated
alextselegidis pushed a commit that referenced this issue May 11, 2024
Fix bad transtyped bool
throw error on login
session_regenerate_id(): Passing null to parameter #1
($delete_old_session) of type bool is deprecated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants