我家的新商盟点击订烟就出现了The requested URL /xsm6/undefined/order/cgtList.htm was not found on this server字样 ,你是怎么解决的 ???
我家的新商盟点击订烟就出现了The requested URL /xsm6/undefined/order/cgtList.htm was not found on this server字样 ,你是怎么解决的 ???
不区分大小写匿名
终于找到办法了,,把以前的flash player卸载了,,换成非ie核的就行了
相关知识等待您来回答
外语领域专家查看: 3090|回复: 6
uc_server/index.php was not found on this server
本帖最后由 sexy22 于
09:34 编辑
如果直接登录 uchome 会出现如标题的错误提示 , ucenter后台-&应用管理,这里所有的通信都正常,请各位朋友指点下是什么原因,谢谢!请看附件截图
卡豆外贸论坛&&
看看uc_server文件夹下有index.php文件吗?重新上传二进制上传一下index.php文件试试
有这个文件,ftp是二进制上传的
新安装的?安装的是full版本的,看看论坛和uchome的config文件中,ucenter的url地址是怎么写的?
谢谢你啊,问题解决了
方法:在uchome下的配置文件config.php中,define('UC_IP', '');设置为空就行了
头像被屏蔽
提示: 作者被禁止或删除 内容自动屏蔽
多谢楼主 我的也已解决
Powered by阅读:5073回复:4
出现The requested URL /upload/mode.php was not found on this server.
发布于: 18:23
由dicuz 7.2 转到8.0 首页调用数据的时候出现The requested URL /upload/mode.php was not found on this server.补充一下,目录下面是有这个文件的
发布于: 18:48
在没有转换前,你确认你的PW的论坛是正确的吗?建议你覆盖下PW的论坛文件,这个和转换没有关系的
&&& &&论坛常见问题解决方法汇总
发布于: 11:13
铜币4855两
威望1902点
<span class="lou J_floor_copy" title="复制此楼地址"
data-hash="read_楼#
发布于: 09:34
后台的地址别填写错了哦
<span class="lou J_floor_copy" title="复制此楼地址"
data-hash="read_楼#
发布于: 10:02
进来学习学习
您需要登录后才可以回帖,&或者&
Powered byCI框架去掉index.php问题后,还是提示was not found on this server_百度知道
CI框架去掉index.php问题后,还是提示was not found on this server
',可最终还是出现.php/ci_news/,里面内容是;] = ',按照网上的查看的资料!^(index\.*)$ /index_page'.php'我的项目目录是ci_;$1 [L]---------------------------------------然后将$config[',建了一个,改成$config['.htaccess文件;,我在ci_news目录下;接着我改了apache的.txt)
RewriteRule ^(;index_page']='.php|public|robots\,开启了重写模块,重启了apache:RewriteEngine on
RewriteCond $1 .conf配置里面的都改成 AllowOverride All
提问者采纳
当然干什么都不行了RewriteRule ^(;index.php/CI的ci_news/.*)$ /。php是入口文件
我把入口文件加上了,还是提示was not found on this server. Apache/2.2.8 (Win32) PHP/5.2.6 Server at localhost Port 80,是什么原因,还有什么解决办法?
提问者评价
其他类似问题
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
For the last couple of days my frustration has grown to new heights. Im trying to do a simple login system in codeigniter and I cant get it to work properly.
when submitting the login form I get the following error:
The requested URL /wishlist/login_controller/login was not found on this server.
Here is the form:
&form method="post" action="&?php echo base_url()?&login_controller/login"&
&input type="text"placeholder="E-mail" id="email" name="email"&
&input type="password" placeholder="Password" id="password" name="password"&
&input class="btn btn-primary span2" type="submit" id="sign-in" value="Sign In"&
Here is my login function in login_controller:
class Login extends CI_Controller {
function login() {
$data['error'] = 0;
if ($_POST) {
$this-&load-&model('user_model');
$email = $this-&input-&post('email', true);
$password = $this-&input-&post('password', true);
$user = $this-&user_model-&login($email, $password);
if (!$user) {
$data['error'] = 1;
$this-&session-&set_userdata('userID', $user['userID']);
$this-&session-&set_userdata('firstname',
$user['firstname']);
redirect(base_url().'admin_controller');
$this-&load-&view('home_view');
I'm using wampserver on localhost. Here is the url that it tries to access:
localhost/wishlist/login_controller/login
Am I correct in assuming that the first part after base_url() is the controller and the second part is the function in that controller?
A couple of settings from the config folder.
$config['base_url'] = '';
$config['index_page'] = 'index.php';
$route['default_controller'] = "site_controller";
14.8k103954
You have 2 problems at the same time:
Your form points at 'login_controller', while your controller is called 'login' (this has already been answered).
You must not have a method named in the same way as your controller.
Such method (unless your class is within a namespace, but that's not the case with CodeIgniter) is executed as the class constructor.
4,53911024
Change your login() method to something like user_login as using the same name for class and method is not right if you are not using that method as a constructor .
Try to access your url like this
http://localhost/wishlist/index.php/login/user_login
as you have not change any stting and not added htaccess file your code should be accesible normally so codeiginter has a pattern of accessing url like
http://localhost/folder_name/index.php/controller_name/method_name
and it seems your accessing URL is not correct.
please rename your controller from
class Login extends CI_Controller {
class Login_Controller extends CI_Controller {
then you can do
&form method="post" action="&?php echo site_url('login_controller/login'); ?&"&
&input type="text"placeholder="E-mail" id="email" name="email"&
&input type="password" placeholder="Password" id="password" name="password"&
&input class="btn btn-primary span2" type="submit" id="sign-in" value="Sign In"&
then use this:
$config['base_url'] = 'http://localhost/wishlist/';
$config['index_page'] = '';
and htacees:
RewriteEngine On
RewriteBase /wishlist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /wishlist/index.php/$1 [L]
if it's not enought switch config.php file at line:
| URI PROTOCOL
|--------------------------------------------------------------------------
| This item determines which server global should be used to retrieve the
| URI string.
The default setting of 'AUTO' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
Default - auto detects
| 'PATH_INFO'
Uses the PATH_INFO
| 'QUERY_STRING'
Uses the QUERY_STRING
| 'REQUEST_URI'
Uses the REQUEST_URI
| 'ORIG_PATH_INFO'
Uses the ORIG_PATH_INFO
$config['uri_protocol'] = 'AUTO';
i use AUTO maybe you need QUERY_STRING or REQUEST_URI option
10.3k30122194
You call action="&?php echo base_url()?&login_controller/login"& when controller's name is "login" and method "login".
You need to call
base_url('login/login');
and sure, set base_url in config.php, you have index_page setted.
Maybe you dont have .htaccess, then you need to call </index.php/login/login/
10.3k30122194
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Upcoming Events
ends Apr 21
Stack Overflow works best with JavaScript enabled}