Welcome Guest, Not a member yet? Register   Sign In
CI doesn’t work on my website ...why??
#1

[eluser]abada[/eluser]
hi ci coders Big Grin

iam finished my site and wrok fine in my pc (local server)

but it doesnt work online (in my webhost)

i changed the conf file


but online it shows me 404 Error in every page

can any body help me pleeeez

thanks 4 all
#2

[eluser]louis w[/eluser]
Does it work if you add index.php?

Can you post a link so we are not debugging blindly.
#3

[eluser]Dam1an[/eluser]
Is this the CI 404 or the server 404?
We really need the link to the site to stand a chance of figuring it out
#4

[eluser]abada[/eluser]
thanks friend

no it doesn`t work if i add index.php?

my site is

http://egdream.net/eg-admin/

try to login

the error message is

<H1>Forbidden</H1>

You don't have permission to access /eg-admin/index.php

on this server.<P>

<P>Additionally, a 404 Not Found

error was encountered while trying to use an ErrorDocument to handle the request.

<HR>

<ADDRESS>Apache/1.3.41 Server at egdream.net Port 80</ADDRESS>


plz help
#5

[eluser]abada[/eluser]
hi guies i found the problem but i can`t fix it

it from my ajax method

this is my function js

function abada(classurl,fn,cont,params,form,loading)
{

var parameters="classurl="+classurl+"&fn;="+fn;


if(params)
parameters +="&"+ params;
if(form)
parameters+="&"+$('#'+form).serialize();
var abadaContent='center-column';
var content = cont
if(!content)
{
content=$("#"+abadaContent);
//alert(content)
}
else
{
content=$("#"+cont);
}

var ajaxload=loading;
if(!ajaxload)
{
ajaxload=$("#"+abadaContent);
//alert(content)
}
else
{
ajaxload=$("#"+loading);
}


ajaxload.html("<img src='../ajax-loader.gif' urlpage ="index.php?/" href="#">company</a>

this is the problem !!!!!!!

because if i use


<a href="http://egdream.net/index.php?/welcome/test">company</a>

it work !!!!!

what can i do to use my function js ????????

plz




Theme © iAndrew 2016 - Forum software by © MyBB