Codeigniter,PHP:找不到对象错误

时间:2012-04-27 10:06:21

标签: php codeigniter

提交表单时,我收到错误

Object not found!
The requested URL was not found on this server. 
The link on the referring page seems to be wrong or outdated. 
Please inform the author of that page about the error. 
If you think this is a server error, please contact the webmaster 
Error 404 localhost
04/27/12 15:30:23
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1

网址显示为http://localhost/frame/localhost/frame/index.php/verifylogin

网址附加localhost/frame/两次。我不知道出了什么问题。

<{1}}中的

代码是:

config.php

1 个答案:

答案 0 :(得分:2)

尝试:

$config['base_url'] = 'http://localhost/frame/';

或者如果失败,

$config['base_url'] = '/';