No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration
Try these different settings in php.ini Find: post_max_size = 8M upload_max_filesize = 2M max_execution_time = 30 max_input_time = 60 memory_limit = 8M Change to: post_max_size = 750M upload_max_filesize = 750M max_execution_time = 5000 max_input_time = 5000 memory_limit = 1000M
if(!isset($_SESSION["LoginType"]) or $_SESSION["LoginType"] != 'a'){ ?>
<script>
alert("Oops! You are not authorized to view this page.");
window.location = "index.php";
</script>
<?php die();} //Use of die() will solve the problem.
When we see the above errro add 1 to the start of the document i.e., in header.php
ob_start();session_start();
Add below at the end of the document i.e., in footer.pgp
ob_end_flush();
Magento Service Temporarily Unavailable
When you come across this type of error
Go to root folder and delete maintenance.flag file
Magento Installation and Admin Login Issue:
1. Download latest Magento
2. Extract and put in htdocs and rename the file as you want
3. Access it from the browser
4. It will start installation.
5. Before that create a DB for this.
Issue fix logging in chrome and IE
After the installation admin login may not work in chrome or ie
To solve this go the path:
...\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
Search for
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()
Comment the entire code snippet.
PHP Installation On WIndows Vista and Above
I recently come across with an issue while installing PHP on a windows machine particularly on Windws 7.
Download the PHP installation file. And install it. Don't worry about the Port error if the Port 80 is already used go ahead with installation.
After installing it will show Apache not installed because Port 80 is already used.
Go to C:\xampp\apache\conf\httpd : change port 80 to your port Ex: 8181.
Default Windows7 has high UserAccountControl Setting which disallow some of the files to write while installation. We need to disable it while installing.
Go to "msconfig" -->Tools --> Change UAC Setting -->Low and Restart the PC/Lap.
Go to C:\xampp\apache\ run the batch file "apache_installservice" install it. If Apache is already started then stop and run it.
Over...
Go to address bar and type Http://localhost/xampp/ now you must set the PHP home page.
Actual location of the PHP is : C:\xampp\htdocs\xampp here you need place the PHP file or sites.