Page 1 of 1

Hosted Video Albums upload problem

Posted: Tue Mar 11, 2014 5:58 pm
by hivtop
when I try to upload a video I get this in the "You are here" window

/uploads/videos//uploads/videos/

and the upload does not work cuz this directory is not there...

Can someone point me to the place to look for where the double /uploads/videos/ directory directive might be???

also it made the names of video folders in the database but not in the /uploads/videos/ directory...

Re: Hosted Video Albums upload problem

Posted: Tue Mar 11, 2014 6:28 pm
by Dr.CSS
We most likely need your system info, you may want to look at the config.php to make sure you have correct paths and not an extra / at the end of the uploads path...

Re: Hosted Video Albums upload problem

Posted: Tue Mar 11, 2014 8:04 pm
by hivtop
thanks for your reply.... here goes...
cmsms 1.11.9
decated server with Apache 2.2.17 & php 5.3.6-1

CMSMailer 5.2.2
CMSPrinting 1.0.5
FileManager 1.4.3
MenuManager 1.8.6
MicroTiny 1.2.5
ModuleManager 1.5.5
News 2.13
Search 1.7.11
ThemeManager 1.1.8
JQueryTools 1.2.5
CGExtensions 1.38.1
HostedVideoAlbums 2.4.4
FrontEndUsers 1.22.3
SelfRegistration 1.8.2
Captcha 0.4.6
Gallery 1.6.1

there are no red x's on the systeminfo page except for Maximum Post Size and Maximum Upload Size cuz they are aet higher than cmsms needs due to the size of videos... all files and pages are hosted on my server.

in config.php.... no uploads path at all

in class.cms_config.php.... we have...
$this->_types['uploads_path'] = self::TYPE_STRING;

and

case 'uploads_path':
$this->_cache[$key] = cms_join_path($this->offsetGet('root_path'),'uploads');
return $this->_cache[$key];

no where can I find a "uploads path" that gives a path also checked the Db

William

Re: Hosted Video Albums upload problem

Posted: Tue Mar 11, 2014 8:43 pm
by Jo Morg
As I've seen similar problems in one or two other modules due to a modification in CMSMS Core, try to set uploads_path explicitly on config.php, ie

Code: Select all

$config['root_path'].'/uploads';
You may have to do that to uploads url too (check CMSMS_config_reference.pdf on doc folder).
However, I'm not sure this is the same issue, as I never used this module.
HTH.

Re: Hosted Video Albums upload problem

Posted: Wed Mar 12, 2014 12:42 am
by hivtop
sorry took so long had to do life... hahaha

no change after adding your line to config.php...

question.... is there a way to turn off cache(cashing) until I get the site running the way I need so pages load without having to do the cache clear step?????

Re: Hosted Video Albums upload problem

Posted: Wed Mar 12, 2014 12:54 am
by Jo Morg
hivtop wrote:no change after adding your line to config.php...
It was worth trying though...
hivtop wrote:question.... is there a way to turn off cache(cashing) until I get the site running the way I need so pages load without having to do the cache clear step?????
IIRC when using the same browser for back and front end the cache shouldn't kick in. If you still have problems try disabling all cache in Site Admin->Global Settings in Advanced Setup and Smarty Settings tabs.