PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
Thread Tools Rate Thread Display Modes
Old November 13th, 2006, 09:43 AM   #1
kaih
Registered User
 
Join Date: Nov 2006
Posts: 2
PP Classifieds wrong data path, created categories - missing folders

We had a wrong path to PhotoPost Classifieds data directory path in the configuration.
As we added new (sub)categories there came error messages like this:
Quote:
Unable to create/write to /var/www/vhosts/reitforum.de/httpdocs/shop/data//639! Check your data directory permissions before continuing.
But the Categories were added to the database, only the folder was not created.

I entered the right path to the data folder now.
The Problem now is that there has been a lot of categories and subcategories added in the meantime.
Is there a way to let PhotoPost Classifieds create missing folders automatically?
kaih is offline   Reply With Quote
Old November 13th, 2006, 11:34 AM   #2
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,381
You mean that with that error throwing up you continued anyway and created more cats?

You either need to manually add the data directories or deleted your categories and recreate them.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 13th, 2006, 11:46 AM   #3
kaih
Registered User
 
Join Date: Nov 2006
Posts: 2
Quote:
Originally Posted by Chuck S View Post
You mean that with that error throwing up you continued anyway and created more cats?
Not me, the person we ordered to add the categories.

Quote:
Originally Posted by Chuck S View Post
You either need to manually add the data directories or deleted your categories and recreate them.
oh really? thats bad, as i already said: there are many many categories.
Maybe we could write some simple script to do that?
It just has to go through all categories, check if the folder exists and create it if not. You also could add a link to the adminmenu "Check Cat Folders" for example.
Better would be if PhotoPost Classifieds never would create Categories if the data folder is not right

Can you help me writing a small php script for creating the missing folders?
kaih is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious about Data folders CEDillard General Discussion 1 September 14th, 2005 04:30 PM


All times are GMT -5. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.