Shopping Cart 0 item ($0.00)
Serbo-Croatian version
translated by Anja Skrba

Photo Video Store Script — FAQ


Common questions

Is the script open source?
Yes it is. All php code is open and you can modify it.
How long my license on script will be valid?
The script has a lifetime license.
During what time you provide free script updates?
We provide free script upgrades for one year.
Can I install license on script I bought on a few sites I owe?
You need to buy license for each of your sites separately. But, buying the script you can buy 5 or 10 licenses at ones and get a substantial discount.
Could i integrate my own template?
Yes it is possible. All templates are separated from the programming code.
Could you help us a integrate a new template?
Yes we could help you for additional fee. The price depends on a template.
May i remove all copyrights and have unbranded version?
Yes you may remove all our copyrights for free.
Can I use script to upload other files, not just photo,audio, vector, video?
You can upload files of ANY formats - for example, Word, Excel files, PDF, etc. The script allows to organize files easily and upload your file archive into Internet. All the information you are uploading is secured.
Can user get access to content without any registration and payments just indicating link to certain file into the browser?
No, it is impossible. Such user will get "Access Denied" message on the screen. You can check it here.
What payment methods could be used in script?
Could you integrate a new payment gateway?
Yes, we could integrate a new gateway for free. The most of available gateways weere added after our clients requests.
Could i disable Credits and have all prices in Dollars?
Yes, sure. You could disable Credits in the admin panel -> Settings - >Site settings.

Installation

Can you install script for us?
Yes, upon your desire we can install script for FREE.
What is a writable permission?
It is a permission which allows you to upload files on the server using the script. Usually you should set 777 to make a folder writable. But sometimes the server security settings require other permissions for uploading. For example well-known cpanel hosting manager very often allows to upload files into a directory when it has only 755 rights and moreover if you set 777 permissions for a folder it can be banned by server security policy. So we advise you set 777 permissions only when the instructions on yourdomain.com/install/ require that.
I've installed the script but the photo's URLs don't work. There is no "photo" directory in the script's archive. www.mydomain.com/photo/test-photo.html
You didn't upload .htaccess file into the root directory. The file contains Apache mod_rewrite instructions. The seo-friendly URL /photo/test-photo.html is virtual and the folder doesn't exist. .htaccess file can be invisible on Mac.
I want to install the script into the folder of my domain: www.mydomain.com/subfolder/ What should i do?
1) You have to edit the file /admin/function/db.php like that:
define( "surl", "http://www.mydomain.com" );

define( "ssurl", "http://www.mydomain.com" );

define( "site_root", "/subfolder" );

2) Edit the file /.htaccess and replace the string:
RewriteBase /
    with:
RewriteBase /subfolder/

3) Edit the file /inc/ddsmoothmenu.js and replace the string:
arrowimages: {down:['downarrowclass', '/images/down.gif', 23], right:['rightarrowclass', '/images/right.gif']},
    with:
arrowimages: {down:['downarrowclass', '/subfolder/images/down.gif', 23], right:['rightarrowclass', '/subfolder/images/right.gif']},
I would like to install the script at the subdomain: store.mydomain.com What should i do?
You have to edit the file /admin/function/db.php like that:
define( "surl", "http://store.mydomain.com" );

define( "ssurl", "http://store.mydomain.com" );

define( "site_root", "" );
I am going to install the script at the temporary URL: http://123.45.67.89/~store/ because my domain isn't set else.
It is impossible. You must use either a real subdomain or a subfolder. More details
I want to install the script at the local server for testing. Is it possible?
Yes sure. Here is detailed instruction
I've installed the script but i don't know the admin panel's login/password. Where can i find it? The front end doesn't work correct too.
If the installation is successfull you will see the login/password at the last step. Probably you didn't add a mysql user to the database and the database's tables were not created. You should go to the hosting cpanel -> mysql -> add user to database and then click "install" again.
After the installation all photos/users/menus are dublicated. What is wrong?
You clicked "Install" twice. You have to recreate the database (or remove all table from the database) and click "Install" again.
I don't see any images after the installation. What is wrong?
There are 2 files: /content/.htaccess and /content2/.htaccess. The syntax depends on the server security settings. You should contact us for the instructions.
Where can i remove all demo photos?
You can bulk delete them in Admin panel -> Catalog
I would like to change a hosting. How can i move my site?
  • You should download all files from the old server and upload them on the new server.
  • Create a mysql dump (backup) in the phpmyadmin on the old server.
  • Create a new database on the new server and import the dump.
  • Modify the file /admin/function/db.php with the new server/database details.
If you have any problems you should contact us
I uploaded all files on ftp. There is /_MACOSX/ folder. May i remove it?
Yes you may remove it. The Mac directory is unnecessary.
When i run www.domain.com/install/ i see php code. What is wrong?
You should enable the setting in php.ini file: short_open_tag = On
When i run www.domain.com/install/ i get a blank page.
You have to look at the php error logs for the details and contact us. There can be several reasons.

Uploading media files

How do i need to set my server to upload media files?
You shoud pay attention the next php.ini settings:
  • upload_max_filesize - It is max filesize which you may upload on the server.
  • post_max_filesize - It is max filesize which you may upload on the server by java uploader. The uploader generates all photo copies so the result file is larger than original one.
  • memory_limit - It is max RAM memory of the server which the script may use. It is critical settings for the photo stock sites. When you upload a photo the script generates/resizes 2 previews. It requires many RAM memory especially for the high-resolution photos. It must be minimum 128M for 2000-3000px images.
  • max_execution_time - The script may work only for the time and then the server terminates it. If you work with the large files you should increase the setting.
  • ignore_user_abort = On - If the buyers download large files then the setting must be enabled to prevent a disconnection.
  • allow_url_fopen = On - If you use Facebook/Twitter authorization or Rackspace/Amazom S3 file storage then the setting must be enabled.
  • FFMPEG - If you use ffmpeg for the video convertation then the php.ini file must contain FFMPEG section.
  • Safe mode - If you use Plesk hosting cpanel and have problems with the file's upload you should try to disable Safe mode. On hosting CPanel the script works perfect with enabled Safe mode.
You can find your php.ini settings here: Admin panel -> Settings -> php.ini
How could i change php.ini setting on the hosting?
You should ask your hosting support how you could edit php.ini file. There can be several methods: global php.ini modification, creation of a local php.ini, .htaccess instructions or php code. It depends on the server's settings.

If you use hostmonster/bluehost cpanel for example you have to go 'PHP configs' section, select 'Single php.ini file', install local php.ini file, rename the file 'php.ini.default' to 'php.ini' on ftp and modify the php.ini file. It is important to set 'Single php.ini file' otherwise local php.ini will affect only a root directory - not nested folders.

You can check the modifications here: Admin panel -> Settings -> php.ini
When I try to upload a photo i get the error: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7804 bytes)...
You should increase 'memory_limit' in php.ini file. The script resizes 2 photo's thumbs and it requires many RAM memory of the server especially when you upload a high-resolution image. If it is impossible to increase the limit you have to use only Java photo uploader which generates all photo copies on the client side.
When I try to upload 5Mb file I receive a error message. The small files are being uploaded fine. Why does it happen?
Probably it is a PHP setting restriction. By default in php.ini file upload_max_filesize = 2M.
What files types does the script support?
The script supports all file formats. You can have 4 types of the publication:
  • Photo publication consists of:
    - 2 photo's thumbs
    - file for sale. Format: *.jpg, *.jpeg.
  • Video publication consists of:
    - *.jpg photo preview
    - *.flv video preview
    - list of files for sale. Any format.
  • Audio publication consists of:
    - *.jpg photo preview
    - *.mp3 audio preview
    - list of files for sale. Any format.
  • Vector publication consists of:
    - *.jpg photo preview or *.zip archive of *.jpg previews
    - *.swf flash preview (optional)
    - list of files for sale. Any format.
You can disable unnecessary publication's types here:
Admin panel -> Settings -> Site settings
Could i add a new publication type except photo, video, audio and vector?
No it is impossible. You could only rename a publication in the translation file: /admin/languages/english.php
Could i upload *.png or *.tif file as photo publication?
No it is impossible. You could upload them only as 'vector' publication (and rename 'vector' if you want).
I would like to sell flash components but i cannot find where i can do that.
You should upload the flash files as 'vector' publication.
Can I sell CD collections?
Yes you can. You should zip your CD collection and upload the *.zip file as 'vector' publication. Moreover the publication can have several previews: you need upload *.zip archive of jpg photos as preview and the script generates all thumbs itself.
What should i set in the admin panel before file's uploading.
You have to set minimum one license here (Royalty free, Extended and etc):
Admin panel -> Settings -> Licenses

and minimum one file type/price here:
Admin panel -> Settings -> Prices -> Photo/Video/Audio/Vector
Can I sell a photo with initial sizes?
Yes you can. Admin panel -> Settings -> Prices -> Photo. You should set 'size' field as '0'. The script determines real sizes of  image automatically.
I would like to sell *.avi video file but i don't see the field in the upload form. Where could i add it?
You should go to Admin panel -> Settings -> Prices -> Video and add the video format. The script supports ANY file type.
Could i sell *.zip archive of *.mp3 files?
Why not. You should go to Admin panel -> Settings -> Prices -> Audio and add *.zip file type.
Where could i upload my files?
You have several variants:
  • Admin panel -> Catalog (one by one)
  • Admin panel -> Catalog -> Bulk upload (preupload files on ftp)
  • Photographer's member area -> My upload
What uploaders does the script support?
There are 3 types of the uploaders:
  • Usual php upload form (for all publications)
  • Java Uploader (only for the photo publications)
  • Flash uploader (only for the photo publications)
I want to upload only photos. What uploader should i select?
It depends on your server capacity. When you upload a photo the script creates 2 previews. If someone buys a photo size it is necessary to create the file too. It is not easy if a photo is large (in pixels). The server must have sufficient RAM memory ('memory_limit' setting in php.ini). Many shared hostings limit the parameter.

The java and flash uploaders help to avoid the problem. They generates photo's thumbs on the client side and then send ready files to the server. So the server doesn't get overloaded.

You should know that Adobe Flash has the limitation. In AIR 1.5 and Flash Player 10, the maximum size for a BitmapData object is    8,191 pixels in width or height, and the total number of pixels cannot    exceed 16,777,215 pixels. (So, if a BitmapData object is 8,191 pixels wide,   it can only be 2,048 pixels high.) In Flash Player 9 and earlier and AIR 1.1   and earlier, the limitation is 2,880 pixels in height and 2,880 in width.

The java uploader doesn't have such limits.
Is it possible to bulk upload many photos?
Yes sure. Thare are 4 ways:
  • Admin panel -> Catalog -> Bulk Upload -> FTP photo uploader. You should preupload all photos on ftp first.
  • Admin panel -> Catalog -> Bulk Upload -> Java photo uploader
  • Photographer's member area -> My upload -> Java photo uploader
  • Photographer's member area -> My upload -> Flash photo uploader
I upload 3MB photo in the java uploader but for some reasons the result file is 7Mb. What is wrong?
The java uploader creates 2 thumbs and all resized photos. So there are several photos instead of one initial image. If you want to generate only photo's thumbs to economize disk space please contact us. We will send you all necessary files. But in this case you have to make sure that your server is able to create the photo copies itself.
I am able to upload only small photos in Java photo uploader. The 'upload_max_filesize' is sufficient in php.ini
Probably 'post_max_filesize' limit is small. It must be more than upload_max_filesize' because the java uploader creates 2 thumbs and all resized photos instead of one image. Also you have to increase 'max_execution_time' limit.
I try to upload a photo in the flash uploader and get the error: Error generating resized image. Resizing: Error #2015
Adobe Flash has the limitation. In AIR 1.5 and Flash Player 10, the maximum size for a BitmapData object is    8,191 pixels in width or height, and the total number of pixels cannot    exceed 16,777,215 pixels. (So, if a BitmapData object is 8,191 pixels wide,   it can only be 2,048 pixels high.) In Flash Player 9 and earlier and AIR 1.1   and earlier, the limitation is 2,880 pixels in height and 2,880 in width.
I try to upload a photo in the flash uploader and get the error: Error #2032
You have to disable SecFilterEngine on the server. You can try to do that in .htaccess file:
SecFilterEngine Off
It can cause Internal Server Error. In this case you should remove the code.

Other variant is for .htaccess file:
SetEnvIfNoCase Content-Type \ "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
Forum topic
I try to upload a photo in the admin panel but get a blank page.
Probably php exif library wasn't installed on your server. You can check it here: Admin panel -> Settings -> php.ini. You should add the php module or contact us. We will send you modified files where the library code is commented. Exif allows to define google coordinates from IPTC data automatically.
Does the script generate thumbs and resized copies for the photo publication or i should do that myself?
The script creates thumbs and copies automatically. When you upload a photo 2 thumbs are generated. When someone buys a photo size the script create the copy.
Does the script create previews for the video publication automatically?
Yes it is possible but only if you have 2 libraries on the server: FFMPEG and PHP-FFMPEG. You can set the option here: Admin panel -> Settings -> FFMPEG
Could i upload video files without ffmpeg?
Yes it is possible. In this case you need to upload *.jpg and *.flv video previews separately. You can create the files using some offline software. The variant is preferable when the video files are large and you can overload a server.
I have ffmpeg. Is the script able to generate *.avi video file from *.mov file for sale?
No it is impossible. The script creates only video previews.
Does the script create previews for the audio publication automatically?
No it doesn't. You need to have minimum 3 files to upload a audio publication: *.jpg preview, *.mp3 preview and a file for sale - any format.
Does the script create previews for the *.tif, *.png files?
No it doesn't. You need to upload a *.jpg preview separately for each publication.
Can I sell only prints – not digital files?
Yes, you can. You should go too Admin panel -> Settings - > Site Settings and check 'Sell prints only'
Can the script  extract IPTC information and add it to a photo publication automatically?
Yes. The Photo Video Store script supports the feature. We recommend you to use the option if you have to upload many photos.
The script reads IPTC info but the encode is wrong.
The IPTC data must be in utf8 encode.
Where can i edit IPTC?
Many photo software has such tool. For example you can do that here: Adobe Photoshop -> File -> File info.
I uploaded a new watermark but I cannot find any changes on the site. Why?
The thumbs with watermarks are generated one time during uploading. The new watermark will affect new publications only. You can regenerate the thumbs here: Admin panel -> Catalog -> select action. Attention! It can overload your server.
I uploaded a watermark but it shows at the top of the thumb.
The watermark width must be smaller than vertical thumb's width.
Can i set a watermark for video previews?
No it is impossible. You should use an offline software.
Is there any file size limitation?
No there isn't. The file size is only limited by the php.ini settings: upload_max_filesize and post_max_filesize.
Where can i change upload limits for my photographers?
You can do that here:
Admin panel -> Settings -> Seller categories
I have a lite version and upload files only in the admin panel. So i've removed all sellers. What should i write in 'Author' field?
The script must have minimum one seller which you have to select as author. You can add the user in Admin panel -> Users -> Customers.

File Storage

Where does the script store media files?
The script can store files on the Local Server where the software is installed or on clouds hostings such as Rackspace cloud files and Amazon S3.

The clouds hosting is cheap, easy and safe way to store media files and distribute them faster in Internet.

When you use Rackspace clouds or Amazom S3 all files are stored on the local server first and then they are moved to a clouds hosting.
Where could i change the storage settings?
You can set it here: Admin panel -> Settings -> File storage
I've uploaded 32000 photos and i cannot upload more. Does the script have any limitations?
There is no any limit. In Linux system a directory may have only 31998 subdirectories. So when you will have 31998 publications you should only add a new folder for the file's storage. Admin panel -> Settings -> File storage -> Local server
Can a user download a media file without any registration and payments just indicating link to the file into the browser?
No, it is impossible. Such user will get "Access Denied" message on the screen. You can check it here. There is /content/.htaccess file which prevents the downloads.
What is better: the storage on the your server or on clouds files servers?
This is only your decision. Your server is the easiest way to store files. if you have few files and they are not large you should use only your server.

The advantages of clouds hostings are:
  • The script requires only 25-50Mb disk space for the php files and temporary media files.
  • The disk space can grow without any limitation on the clouds hostings. You pay only for what you use.
  • It is cheap, easy and safe way to store media files.
  • The speed of file's download is fast and garanted.
  • Probably it is a single way to store large GBs video files.
  • Many hostings don't allow to store media file even if they announce unlimit disk space.
  • You can easily change a hosting. You don't need to move gigabites of file's archives to a new server. You have to upload only several megabites of php files.
  • This is a global tendention to store data on the clouds servers.

Some of our clients found several disadvantages. You should analyse them too and select the best method for you.

I am affraid that Amazon S3 and Rackspace will disappear and i lose all my files.
Amazon S3 and Rackspace are 2 world-wide leaders. We think the probability that your hosting provider will disappear is higher in the millions times.
What company is better: Amazon S3 or Rackspace?
We don't know. They are 2 world-wide leaders. That is a matter of taste.
Could i store media file on other clouds services except Amazon and rackspace?
No it is impossible. At the moment only the two services were integrated.
I would like to use clouds file's hosting. Where should i upload my files?
Admin panel -> Settings -> File storage -> Rackspace/Amazon S3. You should follow the instructions there.

The files are stored on the local server first and then they are moved to a clouds hosting by a special cron script.

So you have to upload files as usual and set a cron task which will move file to the clouds hosting.
What is a cron script?
The cron is a simple php script which is run by a server automatically once 15-30 minutes.

Here are the instructions: Admin panel -> Settings -> File storage -> Cron
I've run a cron URL but only several publications were moved to the clouds. But i have thousands of the files! This is catastrophe.
The file's movement is a time consuming process. It is impossible to copy all files quickly and simultaneously. So the cron moves the files by a portion: 1-5 publications. If the cron is run once 15 minutes all your files will be copied soon.
Does the script delete files on the server after it moves them on the clouds.
Yes sure. The disk space becomes empty.
Could i move my media files back from the clouds hosting to my server?
No sorry. It is impossible. This is a street with the one-way traffic :)
Where can i set the cron task?
You should have the option in your hosting cpanel. There is 'Cron' or 'Cron task' section. Otherwise you have to ask your hosting support.
What command should i use for the cron?
Examples of the cron commands:
  • /usr/bin/lynx -source http://www.yourdomain.com/members/cron_amazon.php
  • GET http://www.yourdomain.com/members/cron_amazon.php > /dev/null
The cron command must ping the URL - not local path to php file.

Templates

Where can i change a current template?
You should go to Admin panel -> Templates -> Select skin
Could i modify a design?
Yes sure. All template's files are separated from the php code. You could modify them here on ftp: /templates/template[n]/
What files should i modify to change my template?
You have to edit the files into /templates/template[n]/ folder on ftp:
  • home.tpl - Home page
  • header.tpl - Header for all second pages
  • footer.tpl - Footer for all second pages
  • style.css - All html styles
  • item_photo.tpl - Photo publication
  • item_video.tpl - Video publication
  • item_audio.tpl - Audio publication
  • item_vector.tpl - Vector publication
  • item_list.tpl - Catalogue listing
Can you develop a new template for the script?
It is possible for the additional fee.
Where can i remove your copyright?
You have to edit the templates on ftp: /templates/template[n]/home.tpl and /templates/template[n]/footer.tpl
Where can i modify a top horizontal menu?
You should modify the file on ftp: /inc/box_categories.php
Where can i modify a home page slideshow?
You can find the slideshow's code into the template: /templates/template[n]/home.tpl. You have to upload new images: /images/slide1(_big).jpg, /images/slide2(_big).jpg, ..., /images/slide4(_big).jpg. We advice to optimize the photos and respect the slide's size in pixels.
Does the script use caching?
Yes sure. The script uses Smarty engine caching. Admin panel -> Templates -> Caching. It prevent a server overload.
I uploaded new photos on the site but i didn't see the files in the catalogue and on the home page.
You should clear the cache here: Admin panel ->Templates -> Caching. The home page components, site stats and all other difficult mysql queries are cached once per hour to prevent database server overload.
Where can i modify the home page's photo sets?
You could edit them here: Admin panel -> Templates - >Home page
I sell only video files and home page's previews don't work for me.
All home page's components are set for the photos by default. You should edit them here: Admin panel -> Templates - >Home page
Where can i change a size on the home page's previews?
For the templates 15-16 you should modify the file /templates/template[n]/style.css, class "tabs_home_link". For the template 17-18 - class "home_box".
How does the script select related items for a publication?
The script searches all publications which have similar titles/keywords/descriptions.
Where can i change a size of the related items?
You should modify the file /templates/template[n]/style.css, class "sc_menu".
I see several untranslatable words in my template. Where could i fix them?
At the moment the script is translated to 41 languages. We add new words/terms permanently when we develop new features. It is impossible of course to support all languages simultaneously. We update only 2 files: /admin/languages/english.php and /admin/languages/russian.php. If you see an untranslatable word in your language you have to open english.php file, copy all new words at the bottom, insert them in your language.php and translate.
Could i add new word to the translation file?
You should open the file on ftp /admin/languages/english.php and add the word there. To insert the word in the templates you have to use the syntax: {lang.Your word}
How can i translate a home page and text pages to the different languages?
You can use the syntax: {if english}Text in English{/if} {if french}Text in French{/if}.
I want to add a new language. How can i do that?
You should have some php knowledge. Please copy the file /admin/languages/english.php, rename it to your language and translate. Then you have to upload a flag to the folder /admin/images/languages/ and finaly go to phpmyadmin -> 'store' database - > 'languages' table and add the new language.
I would like to change a word 'Photographers' to 'Video producers'. What template should i modify?
The easiest way is to modify a translation file. You have to open the file on ftp /admin/languages/english.php, find the word and change.

Upgrades

Where can i download script's updates?
You can download all upgrades in your member area on cmsaccount.com. The section is 'Upgrades'. You can find all installation's instructions there.
Are the upgrades for free?
Yes sure.
Where can i download new templates?
You can download them in your member area on cmsaccount.com. The section is 'Templates'. You can find all installation's instructions there.