MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Administrator

Pages: 1 [2] 3 4 ... 9
Hi All,

When you upload the image via Magento admin panel, it might be that the images are not getting displayed and a thumbnail does not gets created. When you try to browse the image using a valid link it shows 404 Not Found Error.

The images gets uploaded under your account & you can view it using File Manager as well. If you have a close look at the file permissions, you will notice that the permissions on files is set to 640. With these permissions you won't be able to browse the images and that is the reason thumbnails are not getting generated and neither it does show the images in products.

This is due to the permission set when files are uploaded is incorrect in lib/Varien/File/Uploader.php. Simply open the file which should be under the root directory of your magento installation.

# vi lib/Varien/File/Uploader.php

Look for

chmod($destinationFile, 0640);

Set it to

chmod($destinationFile, 0644);

Save the file & exit.

When you upload the images and products now, correct permissions will be set on the images and it will generate the thumbnails as well as show the product images.

Looking for quality Magento hosting? Look no further than MilesWeb's Best Magento Hosting plans.

Errors and Solutions / Unable to SSH Linux Server CentOS 6.x
« on: January 30, 2016, 05:29:04 PM »
Hi All,

Couple of days before when trying to SSH a linux server, it was not allowing me to login. It kept on processing without any errors. However, further checking the verbose option with command below.

ssh -v root@xx.xx.xx.xx -p 22

I managed to poll the errors. The error was

debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

To fix the above error, I had to open the SSH config file /etc/ssh/sshd_config & find for GSSAPIAuthentication. Set GSSAPIAuthentication to no and restart SSH service.

You will be able to access the server via SSH now.

Errors and Solutions / Unable to resolve all conflicts plesk restore
« on: January 30, 2016, 05:09:26 PM »
Hi All,

When trying to perform a restore from command prompt on Windows Plesk Server, you might receive a message as below. The restoration fails.

<?xml version="1.0"?>
 <conflict id="1" guid="ca481736a27373d81b38b5d8bc754b97">
      <ip type="shared" value="xx.xx.xx.xx"/>
     <option name="rename"/>
     <option name="do-not-restore"/>
Unable to resolve all conflicts

This error is when any of the module/package isn't installed OR setting isn't correct. You need to check properly what is listed just below      <required-resource-description>. In the above case it means that shared IP isn't set. Simply, login to your plesk panel and assign a shared IP. Now, try to perform the restore. It would work.

Web Hosting / Re: Magento database details
« on: January 25, 2016, 06:47:20 PM »

I have a website with you, made in magento. I want the wordpress database to be within my Magento database so I can have same magento database for wordpress as well. The database details I am using are not matching. Where will be those details shared ?


Hey Vivek. Welcome to MilesWeb Forums.

You can get the details from the file named local.xml under your magento installation. Simply to connect to hosting account via File Manager OR FTP. Under your website's root directory open file app/etc/local.xml. In this file find for <connection>. Under this section you will get the database details. Example, host, username, password, dbname, etc.

I hope this helps  8)

How To's / How To Open Passive Ports in pure-ftpd cPanel Server ?
« on: January 22, 2016, 02:00:54 PM »
Hi All,

When trying to upload the files via FileManager, you might receive errors related to directory listing. It is because passive ports are not enabled in pure-ftpd and server's firewall. Let's know how to enable the Passive Ports and open then in server firewall.

Open pure-ftpd file.

# vi /etc/pure-ftpd.conf

Find for PassivePortRange and uncommend the line. Simply, remove the # just before PassivePortRange. Restart the pure-ftpd service.

# /etc/init.d/pure-ftpd restart

Now, let's open the ports in server's csf (config server firewall) firewall.

# vi /etc/csf/csf.conf

Find for TCP_IN and at the end of line, enter the port range 30000:50000. It should look like as below.

TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,30000:50000"

Save the file and quit. Restart csf firewall.

# csf -r

Directory listing should be enabled now.

Ecommerce Hosting & Discussion / Re: g-zip file compression related query
« on: January 20, 2016, 09:15:05 PM »
Hi Tarang,

Welcome to forums.

gzip is already installed on the server. Simply, login to the cPanel & access option Optimize websites. Select the radio button 'Compress All Content'.

Web Hosting / Re: getting spam emails
« on: January 18, 2016, 07:01:14 PM »
We recommend you to consider our SpamExperts addon which is available for free. Simply, login to your cPanel & click on SpamExperts. You can then enable it on the domain for which you receive spam emails.

Hi All,

One of our client tried executing a query from phpMyadmin. However, it threw an error.

Query Error: #1296 - Got error 64 'Temp File Write failure' from InnoDB

This error is usually due to the tmpdir set for MySQL/MariaDB is running out of space. By default, it is set to /tmp. Mostly /tmp folder is set to not more than 2GB. If the size of the database is large, 2GB isn't sufficient enough.

You will simply need to increase the size of /tmp OR set tmpdir to some other directory which has sufficient space. Make sure you set full permissions on /tmp folder.

When initiating a backup of MSSQL database using SQL Management Studio, you might get the error as below.

TITLE: Microsoft SQL Server Management Studio

Backup failed for Server ''.  (Microsoft.SqlServer.SmoExtended)

For help, click:


System.Data.SqlClient.SqlError: Cannot open backup device 'C:\backup.bak'. Operating system error 5(Access is denied.). (Microsoft.SqlServer.Smo)

For help, click:



This error is due to incorrect permissions on the folder under which the backup file is generated. Simply, add network user's permission on that folder & you will be able to generate the backups.

Alternatively, you can use the command below to check if cloudflare module is installed OR not.

#httpd -M|grep cloudflare

Errors and Solutions / Re: Mail Delivery System
« on: December 16, 2015, 09:16:09 PM »
Hi John

Looking at the bounce back logs it shows as below. The email account does not exists on that domain and that is the reason you have received the bounce back.

The email account that you tried to reach does not exist. Please try later.

General Discussion / Re: Coming soon page not reflecting
« on: December 16, 2015, 09:08:20 PM »
Have a check at our KB Article once. You will be able to view it from cPanel File Manager yourself.

General Discussion / Re: Coming soon page not reflecting
« on: December 16, 2015, 06:19:45 PM »
Thanks. I got the PM.

Further checking I see that in your .htaccess file the DirectoryIndex was set to index.html. However, your temporary page uploaded was index.htm. I had to set DirectoryIndex to index.htm.

The website now shows a maintenance page.

General Discussion / Re: Coming soon page not reflecting
« on: December 15, 2015, 06:08:33 PM »
Could please PM me with the domain name ? I will have a check further.

FYI, there are many reasons behind the website not reflecting the updated page. It might be that the cache is enabled which needs disabling as well.

Errors and Solutions / Error: The system cannot find the file specified.
« on: November 24, 2015, 06:13:12 PM »
When trying to manage the accounts from plesk panel 12.0, you get an error as below.

Error: The system cannot find the file specified.

It is because the the update within plesk that needs to be re installed. Simply, login your windows server via RDP and access command prompt. Execute the command below which will perform the updates.

"%plesk_bin%\ai.exe" --select-release-current --upgrade-installed-components

This error also occurs when you try to add a MSSQL database, create FTP accounts OR when trying to set subscription.

Pages: 1 [2] 3 4 ... 9