试图在这里编译Magento 1.6:
Magento管理面板,系统,工具,编译
它编译然后我启用它.在那之后,网站死了.这是堆栈(但这并不重要)
Warning: include_once(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 36
Warning: include_once() [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 36
Warning: include_once(Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 37
Warning: include_once() [function.include]: Failed opening 'Varien_Autoload.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 37
Fatal error: Class 'Varien_Autoload' not found in /home/mysite/public_html/app/Mage.php on line 53
Run Code Online (Sandbox Code Playgroud)
重要的是:如何重新开始?也许通过编辑MySQL表?
索引文件存在且有效.当我使用ONLY行创建.htaccess文件时:
RewriteEngine On
Run Code Online (Sandbox Code Playgroud)
服务器上的任何页面都给我:
访问被禁止!
您无权访问请求的对象.它受读保护或服务器无法读取.
如果您认为这是服务器错误,请与网站管理员联系.错误403 mysite.com 2011年10月5日星期三22:25:25 Apache/2.2.3(Linux/SUSE)
一些服务器信息:
加载模块核心prefork http_core mod_so mod_actions mod_alias mod_auth_basic mod_authn_file mod_authz_host mod_authz_groupfile mod_authz_default mod_authz_user mod_authn_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl mod_suexec mod_userdir mod_rewrite mod_php5
Apache版本:
SERVER_SOFTWARE Apache/2.2.3(Linux/SUSE)
也这样做了:
Options FollowSymLinks
Run Code Online (Sandbox Code Playgroud)
在httpd.conf的Directory部分中
Log说的只是错误的事实,而不是原因:
89.112.xx.x - - [05/Oct/2011:22:32:34 +0200] "GET /info.php HTTP/1.1" 403 1040 "-" "Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
::1 - - [05/Oct/2011:22:32:45 +0200] "GET / HTTP/1.0" 200 1 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)" …
Run Code Online (Sandbox Code Playgroud) 我有MySQL表与日期字段(yy-mm-dd).
我有使用datepicker编辑它的表单,它工作正常.
但是在前端日期显示为mm-dd-yy,这可能令人困惑.
我希望使用datepicker字段将值显示为mm-dd-yy,但实际值应为旧格式(yy-mm-dd).
怎么达到这个?
补充:我知道如何更改日期格式.我想要单独的显示值和实际值.这就是它的全部意义.
apache ×1
compilation ×1
datepicker ×1
format ×1
httpd.conf ×1
jquery ×1
magento ×1
mod-rewrite ×1
tmux ×1
window ×1