欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

Magento 取消URL檢查 troubleshoot problems wh

系統(tǒng) 1777 0

How to troubleshoot problems while installing Magento in localhost

I have to agree that most of us face a lot of issues while installing the latest version of Magento 1.4.2.0 in localhost. The version was released on December?8, 2010. So I thought of writing an article that would sort out the basic issues one would ?face during magento installation. I am not much familiar with magento and this is my first experience trying it.

?

Invalid Base url ( Please enter a valid URL. Protocol is required (http://, https:// or ftp://) :

?

You will face this error usually when the base url entered is like http://localhost/…./ , you can easily resolve this issue either by simply replacing localhost with “127.0.0.1″ . So your url goes like this

http://127.0.0.1/magento/

or else you can force magento to accept your localhost as url by modifying the validation.js file which is present in the magento installation directory at js\prototype\validation.js (note I don’t recommend doing this for any live servers, just for development and testing purpose).

go to line 500 where you will see something like this

['validate-url', 'Please enter a valid URL. Protocol is required (http://, https:// or ftp://)', function (v) {


return Validation.get('IsEmpty').test(v) || /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i.test(v)
}],

remove all the regular expressions present and simply return true. So the above code will be changed to something like this

['validate-url', 'Please enter a valid URL. http:// is required', function (v) {
return true;
}],

and for extra care , I would advise you to

Check the Skip Base URL Validation Before the Next Step option to prevent any validation of url. So the final selection would be like this

Maximum Execution time exceed error.

If you believe or not, Magento will create about 318 tables in your database. I was astonished becoz I used to work with very light content management systems like wordpress etc and this is the first time I am trying a powerful e-commerce site like M agento which has hell lot of tables.

This is the reason why many of us end up with an error “Maximum Execution time exceed error.” The default maximum time execution limit for php which we have configured is not enough to posses such a powerful system.

So if you are using a distribution system like xampp or lamp, you can simply find the php folder and configure the php.ini file

Usually php.ini file can be found in c:\xampp\php\php.ini

find two values which usually present at line 440 and 450 . Change the default value to either 0 or 3600

max_execution_time = 3600
max_input_time = 3600.

assigning value as zero (0) would give it infinite time for execution.

These are the common issues one face during the installation of latest version of Magento 1.4.2.0 .

Unable to login after Magento installation in localhost:

After the installation, I faced another problem. It wont allow you to login if you have used localhost as your base url instead of 127.0.0.1. This is because it wont accept cookies from localhost. You can resolve it by commenting out unwanted variables in session cookies in Varien.php. This file can be found in app/code/core/Mage/Core/Model/Session/Abstract/

go to line 78 (varies based on versions) and you will find the array as shown below

$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()
);

comment the last three lines see example below.

$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()
// 'domain' => $cookie->getConfigDomain(),
// 'secure' => $cookie->isSecure(),
// 'httponly' => $cookie->getHttponly()
);

Make sure you remove the comma after getPath() . Check screenshot

If you come across any other issues do comment below to let me know.

?

from: http://www.sankaranand.com/blog/2011/02/how-to-troubleshoot-problems-while-installing-magento-in-localhost/

?

Magento 取消URL檢查 troubleshoot problems while installing Magento in localhost


更多文章、技術交流、商務合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦?。。?/p>

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 日本一本免费一二区 | 国产在视频一区二区三区吞精 | 国产精品视频免费观看 | 欧美艹逼 | 午夜精品久久久久久99热软件 | 成人理论| 国产精品美女久久久久久 | 欧洲成人午夜免费大片 | 亚洲精品视频在线 | 亚洲精品一区久久狠狠欧美 | 伊人伊人 | 在线一区视频 | www干| 日本高清色视频www 99视频在线 | 新版天堂资源中文在线 | 国产一区二区三区不卡在线观看 | 免费无遮挡www小视频 | 亚洲一区二区三区福利在线 | 成人无码髙潮喷水A片 | 久久我们这里只有精品国产4 | 中文字幕在线一区二区三区 | www.亚洲 | 国产精品冒白浆免费视频 | 丝袜美腿精品一区二区三 | 亚洲精品黄色 | 欧美日韩一区二区中文字幕 | 国产免费福利视频一区二区 | 男女啪啪高清无遮挡 | 日韩 第一页 | 99久久国产综合精品网成人影院 | 亚洲婷婷在线 | 国产精品一区二 | 成人福利视频网 | 日韩福利视频一区 | 亚洲一区中文字幕在线观看 | 国产日韩一区二区三区 | 久久久久久久久久久久久久久久久久久 | 超97在线观看精品国产 | 国内精品伊人久久久影视 | 毛片免费大全短视频 | 日本毛片爽看免费视频 |