News:

SMF - Just Installed!

Main Menu
Menu

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.

Show posts Menu

Messages - Administrator

#16
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.

Quote# vi lib/Varien/File/Uploader.php

Look for

Quotechmod($destinationFile, 0640);

Set it to

Quotechmod($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.

QuoteLooking for quality Magento hosting? Look no further than MilesWeb's Best Magento Hosting plans.
#17
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.

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

I managed to poll the errors. The error was

Quotedebug1: 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.
#18
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.

Quote<?xml version="1.0"?>
<conflicts-description>
<conflict id="1" guid="ca481736a27373d81b38b5d8bc754b97">
  <type>
   <configuration>
    <reason-description>
     <required-resource-description>
      <ip type="shared" value="xx.xx.xx.xx"/>
     </required-resource-description>
    </reason-description>
    <resolve-options>
     <option name="rename"/>
     <option name="do-not-restore"/>
    </resolve-options>
   </configuration>
  </type>
  <conflicting-objects/>
</conflict>
</conflicts-description>
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.
#19
Web Hosting / Re: Magento database details
January 25, 2016, 06:47:20 PM
Quote from: vivekd on January 25, 2016, 06:43:06 PM
Hiya,

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 ?

VivekD

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)
#20
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.

Quote# vi /etc/pure-ftpd.conf

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

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

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

Quote# 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.

QuoteTCP_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.

Quote# csf -r

Directory listing should be enabled now.
#21
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'.
#22
Web Hosting / Re: getting spam emails
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.
#23
Hi All,

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

QuoteQuery 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.
#24
When initiating a backup of MSSQL database using SQL Management Studio, you might get the error as below.

QuoteTITLE: Microsoft SQL Server Management Studio
------------------------------

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

For help, click: go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.5058.0+((SQL11_PCU_Main).140514-1820+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

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

For help, click: go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.5058.0+((SQL11_PCU_Main).140514-1820+)&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

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.
#25
Alternatively, you can use the command below to check if cloudflare module is installed OR not.

Quote#httpd -M|grep cloudflare
#26
Errors and Solutions / Re: Mail Delivery System
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.
===
#27
General Discussion / Re: Coming soon page not reflecting
December 16, 2015, 09:08:20 PM
Have a check at our KB Article https://www.milesweb.com/hosting-faqs/how-to-make-hidden-file-visible-from-cpanel-file-manager/ once. You will be able to view it from cPanel File Manager yourself.
#28
General Discussion / Re: Coming soon page not reflecting
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.
#29
General Discussion / Re: Coming soon page not reflecting
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.
#30
When trying to manage the accounts from plesk panel 12.0, you get an error as below.

QuoteError: 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.

Quote"%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.