Forum

Questions and discussions

Filenames up to 50 characters - how to change?

Script's setup and configuration

Filenames up to 50 characters - how to change?

Postby stockdiv » Thu Jul 30, 2015 8:05 am

Where at our database can this limit be changed?
If a file is named longer than 50 characters the download is not possible.
Which and where is the entry for this?

Warning: filesize(): stat failed for /www/htdocs/k675646//content2/10000/Happy funny animal cartoon Christmas feeling stress d /www/htdocs/k675646/admin/function/upload.php on line 598
stockdiv
 
Posts: 119
Joined: Sat Feb 01, 2014 11:23 am

Re: Filenames up to 50 characters - how to change?

Postby admin » Fri Aug 07, 2015 5:10 am

You should execute the sql command in phpmyadmin and reuplaod the photo:

Code: Select all
ALTER TABLE `photos` CHANGE `url_jpg` `url_jpg` VARCHAR( 100 );
ALTER TABLE `photos` CHANGE `url_png` `url_png` VARCHAR( 100 );
ALTER TABLE `photos` CHANGE `url_gif` `url_gif` VARCHAR( 100 );
ALTER TABLE `photos` CHANGE `url_raw` `url_raw` VARCHAR( 100 );
ALTER TABLE `photos` CHANGE `url_tiff` `url_tiff` VARCHAR( 100 );
ALTER TABLE `photos` CHANGE `url_eps` `url_eps` VARCHAR( 100 );
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 3 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.