 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
August 20th, 2008, 12:04 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Problem after restore
We had some data loss and had to restore files. The database is ok, we just had to reupload php files. we put the newest review post files in place. I have edited my config files and for the most part it seems ok.
I think I am having a permissions problem.
Unable to move file [/tmp/php0XsjUo] [/var/www/html/products/data/25/mdk_speed_hi_comp_pstn.jpg]
The path is correct, but it is not creating the folders it needs. In this case the 25 directory is not being created.
I thought it might be an owner issues, so I tried changing the owner from root to apache. No change. If I create a 25 folder, I can upload the photo.
The permissions are showing as 777.
Any ideas?
|
| |
August 20th, 2008, 12:22 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Is safe mode on on the server? As long as safe mode is off and the path is correct and 777 the user upload directory will be created
|
| |
August 20th, 2008, 01:00 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Quote:
Originally Posted by Chuck S Is safe mode on on the server? As long as safe mode is off and the path is correct and 777 the user upload directory will be created | Server hasnt changed. we just had an accidental deletion of a couple directories.
Does ownership matter? Its a permissions thing for sure, I just cant seem to put my hand on it.
|
| |
August 20th, 2008, 01:15 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Yes ownership could be an issue
Obviously safe mode needs to be off. The actual data directory needs to exist and is probally your issue in that it does not exist
You should have a 25 directory under data set to 777 as well as its children directories of thumbs and large set to 777 as well
If you lost some directories you need to make sure these all exist under your data directory possibly recreating them manually. we are not going to auto create an existing categories directory that is only created when we create a category.
|
| |
August 20th, 2008, 01:33 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Quote:
Originally Posted by Chuck S Yes ownership could be an issue
Obviously safe mode needs to be off. The actual data directory needs to exist and is probally your issue in that it does not exist
You should have a 25 directory under data set to 777 as well as its children directories of thumbs and large set to 777 as well
If you lost some directories you need to make sure these all exist under your data directory possibly recreating them manually. we are not going to auto create an existing categories directory that is only created when we create a category. | Bingo, thats it. I thought the directories would auto create. I manually created the dirs and all is well.
Thanks Chuck
|
| |
August 20th, 2008, 01:42 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Not a problem yep only user upload directories recreate if they dont exist categories only are created and should exist when you create the cats.
|
| |
August 20th, 2008, 02:18 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
|
A few other problems. We have a blue outline around only thr first thumbnail, I thought I edited showproduct.tmpl, but I cant seem to find where.
Here is an example Fuel Mixture Screw - Nor Cal Motocross Product Galleries
Also the thubmnail isnt showing on the main page
Edit
i ran scan database and had it rebuild thumbs anbd check for and create missing thumbs.
That fixed the home page issue.
Last edited by jwashburn; August 20th, 2008 at 02:24 PM.
|
| |
August 20th, 2008, 03:01 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
In showproduct.php to this line you can add the code in bold for that blue border Code: Content visible to verified customers only.
|
| |
August 20th, 2008, 04:08 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Quote:
Originally Posted by Chuck S | yeah, we are still restoring some images.
|
| |
August 20th, 2008, 04:09 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Yep thats your issue things dont exist so we cant find them |
| |
August 20th, 2008, 04:17 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Quote:
Originally Posted by Chuck S In showproduct.php to this line you can add the code in bold for that blue border Code: Content visible to verified customers only.
|
That seems to break the image when I add that code
|
| |
August 20th, 2008, 04:36 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
|
I edited it to match the other thumb lines. I am good now Code: Content visible to verified customers only.
|
| |
August 20th, 2008, 05:57 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
| Last question - I promise
Okay I think we are finally almost done.
If you visit Main Index - Nor Cal Motocross Product Galleries Code: Content visible to verified customers only.
For some reason the side columns I have setup are off kilter. My other review post products such as classifieds arent doing that.
Any ideas on what to check?
|
| |
August 20th, 2008, 07:48 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Possibly try altering this phrase in edit languages Code: Content visible to verified customers only.
|
| |
August 21st, 2008, 09:36 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: May 2006
Posts: 74
|
okay, where did you pull that one out of? It worked.
|
| |
August 21st, 2008, 10:22 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
LOL just observation of the site |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:09 PM. | |