I installed plugin called force regenerate image but it didn't worked. photos are shown in list views but need to force regenerate the images many times. Its running fine in my localhost but in server its not loading how can i make it work fine ?
Try to analyze the log files on your server. It should contain clues on why it's not working. The location of your log files depends on your host. Contact your host if you have no idea where to find the log files.
Related
I have two websites on a hosted server with hostgator.
I have website1 which is a website I built to add products, images, and track data from all the website we run. In this website I store the images in the filesystem on the server spot dedicated to this website.
Then I have website2 which is a website for to display a web store we are operating and I have it connect to the database that stores the data from website1 and grabs all the relative paths to the images that are on website1 filesystem. I cannot however get the browser to find these images and display them. It keeps giving me errors image not found.
I'm new to filesystem management using php and its proving to be a little difficult.
I am using this to set the file path to the image on website2.
src='".$_SERVER['DOCUMENT_ROOT']."/website1/public_html/$productIMG'
is there something else I have to do to get it to grab the image and display it or is it even possible to try to do what I am trying to do. Maybe I am missusing the $_SERVER[DOCUMENT_ROOT] someone please help me.
The variable in the path is correct for the path I am trying find but the beginning part is not finding the correct way to the other website.
Here is an example of the link I am getting to an image.
A website cannot take the document root of another website and use it as its source. Website1 obviously has an address e.g www.website1.com. This is the public address that equates to its document root (public_html directory). In order to extract anything from there, you need to www.website1.com/somefolder/somefile.extension from Website2 or anywhere else. That won't let you down.
I have been trying to upload new pages to a CodeIgniter-based website, but I noticed that the new pages are not accessible. Instead, I'm getting a 301 error loop (since the controller redirects me to a non-existing page, apparently).
Changing existing pages and uploading them also does not work. The changes I made are not visible on the website. The changed files have been successfully uploaded to the server through FTP, although this is not reflected in the website when I browse it. I figured it might be a cache problem, but this does not seem to be the case. Any ideas?
I am new to drupal.I have to work on Live website with drupal 7. This website is working fine. I downloaded the website on my localhost.Home page of the website works fine.But when I click on any link in menu it shows me page not found.When I checked the url it is showing me like this:
http://Locahost/page/category/she.php
But when I check my project page and category folders arenot present.Also when I searched on live website these folder are not there also. But on live server it works fine.Url on live server is like this:
http://mywebsite.com/page/category/she.php
But Page and category folders are not there. I am a new to drupal. Any help to resolve this url generation issue will be appreciated.
After checking for possible misconfogurations as outlined by jpschroeder's you could try using the Backup and Migrate module.
Use the default settings and the cache tables will not be saved in your backup. You don't need them, as they will be re-created on the new server as pages are served for the first time there.
There's a good tutorial on this at http://www.seascapewebdesign.com/blog/how-transfer-your-website-one-server-another
For some reason, images are not showing up when not logged in as an administrator.
The issue seems to be connected to my use of views.
The images are part of a content type I created. The field type is image and I can pull the images from the node when accessing the node in a custom template and not using views.
But when using views, the images only show up when I'm logged in as an administrator.
I don't have any field/content permission modules installed, this is pretty bare bones with a Zen theme sub-themed. And I'm not doing anything funky with the view, just create it and add the fields I want to display. It works fine as administrator.
I can't seem to figure this one out. It seems like this is a permissions issue, but I don't see anything in the permissions configuration that would affect this behavior.
Any tips?
I appreciate that this is an old post but after days of trying to resolve the problem I have seen many of these posts and want to update with my solution.
My web host is classed as a shared web host which means for me that I don't have as much access to the server side as with other hosts. The control area for the admin on my host is custom and lots of stuff that I have with another host and previous hosts id missing.
I resolved the images not showing by adjusting the .htaccess file. There are 2 that I have found so far in Drupal 7.24 (one in the site root and one in sites/default/files/) and I had to adjust both of them by commenting out the options section and the symlinks section. There is info on this by googling "one.com Drupal Installation".
Once both htaccess files had been edited and the permissions had been changed on the "files" folder in "sites/default/" to "755" the extra folders where created when I uploaded my images and the images started to show fine. If like me you are unable to change permissions within your website hosts control panel you will need to do it with either an ftp client or via ssh.
I have this problem sometimes usually I cange folder and image files permissions to 0777 if all is ok to 0755.
admin->people->permissions->check 'view files' for anonymous user, save permissions.
Those images you uploaded with some multi-uploading modules are regarded as files, anonymous user need permission to view them.
I broke up with my boyfriend so he changed the FTP password to my Drupal 7 website he was hosting through his host.
I still have admin access but that's about it.
I can get the database(s).
But without FTP I can't get the files.
Ran this on a Drupal basic page
echo ini_get("disable_functions");
The following functions are disabled
exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,
proc_close,proc_open,dl,popen,show_source
Is there anything I can do!?
If you've got backup_migrate you could get the database. If you've got views you could build a view to list the files or anything else you need. This would be difficult but it could work.
Edit:
From memory, a user can browse their files with IMCE if that is installed. You could get it to browse the same directory that the file field uses.
Without shell access or ftp access no. You can try and contact the host and ask for a dump, but if it is under his name I doubt they would do anything for you. Or even just ask your boyfriend to be nice and see what comes of it (never know till you ask).
Other then that sounds like you are out of luck.