Some product images are not showing in magento - php

I recently migrated my magento website to a different server, and here's the process I used:
Remove .htaccess folder from media folder .
rebuild all indexes as well as flush cache in the administration area.
php memory size is 512M.
Same Copy of website working fine in my localhost and different server, I am very confused what step I have to take please guide.

You missed several steps. Process of migrating Magento from local to live is
Upload all files to server
clear var/cache and var/session folder
Update live URL in core_config table web/unsecure/base_url and web/secure/base_url.
Empty log_url table
Reindexing
Still you are getting issues. Check exception.log and system.log in var/log folder.

Related

Trying to make a local copy of an existing wordpress site

I'm using WAMP to try and make a local copy of a rather large wordpress site.
After some struggle with the database i moved all the files from the ftp: to my www/ wamp folder.
Now when i try to open the pages i get:
localhost is currently unable to handle this request.
HTTP ERROR 500
BUT i can open my localhost/wp-admin and see my wordpress dashboard.
Generally, it can happen for many reasons but you can debug it step by step!
Check .htaccess file.
Delete this file or replace it with a fresh one!
Some plugins like wp-cache alters .htaccess file to achieve its purpose. So updating this file may solve your problem.
Update Permalinks to default from WordPress settings.
Replace all WordPress files with fresh WordPress files except wp-content folder. you need to update database again.
Set another theme and check if works and again set your default theme. Sometimes theme also causes this error!

Magento DEV. clone are redirectingg to the main URL [duplicate]

We have moved out magento site to another host. But it is redirecting to the old site
We did following changes before moving the site
1. DB backup
2. files are zipped and copied to another host.
after moving the site to another host
1. changed the /web/secure and /web/unsecure values in the DB.
2. In magento files /app/etc/local.xml changed the database name.
3. cleared the var/cache
4. cleared the var/tmp
5. cleared the var/session.
but still the magento site is redirected to old site.
Can any one help me with this.
Thanks
Several steps involved in cloning or moving a website.
NOTE: It's common practice to empty the var/cache, var/session directories before copying to new location. Clearing cache is mentioned below as it's necessary to clear the cached config after you've run through the list and properly set database access, BaseURL, etc.
Copy application files to new location and import database into MySQL. (best to do this with a tarball and database dump sql file, ftp has issues with things like getting .htaccess files to transfer, case to matter, etc.) Note: more sophisticated Magento admins use rsync, it's far easier.
(important!!) Make sure file/folder permissions and owner/group are correct so that var/ folder system is writable. Otherwise the Magento cache gets written in system /tmp instead of Magento var/ and only a server reboot or manual deletion will clear Magento cache out of /tmp . Also, not having var/ writable means that any drastic errors that write a file to var/report/ will fail to write any stack traces, compounding your installation heartburn.
Make sure app/etc/local.xml points to the proper database and make sure if you back up the original local.xml that it doesn't end in .xml -> needs to be something like local.xml.sv1
Change your database entries Unsecure BaseUrl for and Secure BaseURL to point to your new location (http://www.example.com and if ssl cert installed https://www.example.com respectively). Use phpmyadmin to look for the paths web/unsecure/base_url and web/secure/base_url in the core_config_data table. (Note: entries will exist for each scope set, minimum is Global)
Manually clear your cache by deleting all the mage--? subfolders in var/cache
If you were using the compiler on the previous site, disable compiler with SSH command line php shell/compiler.php disable from the Magento root.
Attempt to load your admin backend, you should be on the new server URL now.
Following these steps should clear all the hiccups that cause Magento to adamantly redirect back to the old server. And believe me, I've had them all happen.

Upload opencart site to server

After uploading the opencart site from local machine to server I am unable to set the base url of the site.
I have uploaded all the files and database. Made changes to both the config.php and admin/config.php to reflect new domain path.
I have not done any hardcoding so there are no issues of absolute path in website.
However in all the menu items I still get the "localhost/Directory" path. Where should I make changes to update this base url path?
The change must be in database only but I dont know which table..there are hundreds of tables. :-(
Actually only the menu items are not linking properly. I am using the journal theme from themeforest if this matter.
You could possibly check for a path in PHPmyAdmin I had to update like this before using CMS's when transitioning from localhost to server and the config file didn't make the change to the database.
I solved the problem myself. I did a fresh install of opencart on the server. Uploaded and overwrite the files to the server from my machine. Deleted the fresh database and imported my database on it. Got it solved!!
Jonid Bendo's comment also work's !!
Sometimes clearing the themes cache also works.

After transferring Joomla site, I can't install extensions

I updated a Joomla website for a customer of mine. I did this in XAMPP. Now, when transferring it to the server, I have some problems. I can't install extensions anymore and I get the message:
JFolder::create: Infinite loop detected
Warning: Failed to move file!
After some reading I found out it's possibly caused by the log and tmp folder, but I don't know how to rename them to work. (The link to them in the config.php file)
public_html > tmp / log (both tmp and log are in the main directory of public_html)
How would I set them up to work? And is it definitely this that is causing this error?
You can actually edit those values using Joomla's back-end. Go to global configuration settings menu option, one of the text fields is in the Server tab and the other is in the System tab. If you can, put the full directory path of the server in for the values.

Error when running WordPress on new server

I've just upload a WordPress project into a web server. Everything went fine with the exception of the User-Photo plugin. The problem I'm having is that its doesn't seems to find the basedir path. This is the error:
Upload error: Unable to place the user photo at: /var/www/clients/client2/web4/web/arsoblog/wp-content/uploads/userphoto/1.jpg
First of all, I don't know where this path is. Even on the local server, where the site is working good, is using the exact same path, which I can't find.
Maybe someone of you knows what could have changed from one server to the other. By the way, the blog is inside another site in the web server, which is developed using CakePHP.
EDIT --- I'm having the same problem with all the uploads!
The problem is in your upload directory. When we develop the WordPress site in localhost, the default upload directory will be point to your localhost only. When you move to online server, this directory path will not change.
To override this do the following steps:
Login to your cPanel/control Panel
Go to phpMyadmin
Select your database.
Go to wp_options table
On the second page (around 58th row) Edit 'upload_path'(For the first time this row may be blank).
Give your correct directory.Eg: /home/username/public_html/folder-name/wp-content/uploads
Change "username" and "folder-name". Username is usually the username you use to login to cPanel, or your domain’s control panel. Folder-name is used for the sites hosted in subfolders. If you hosted the site in root folder, remove it.
Here is a detailed tutorial How to move wordpress to a new server or host.
If you already used WordPress uploader in localhost, you need to do a search in wp_posts table and replace your localhost reference to your live site's reference. There are some plugin available to do these search and replace in database. Check this one
Hope this will solve your problem.
777 permissions are dangerous and not the correct fix for the issue. You will get hacked with 777 permissions. See Hardening WordPress « WordPress Codex
For solving this problem you have follow some step,
*Login to your cPanel/control Panel
*Go to phpMyadmin
*Select your database.
*Go to wp_options table
*On the second page (around 58th row) Edit 'upload_path'
*Give your correct directory.Eg: /home/username/public_html/folder-name/wp-content/uploads
then you shift your server See tutorial
for more
http://www.techyv.com/questions/error-when-running-wordpress-new-server

Categories