Hosted Video Albums upload problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
hivtop
New Member
New Member
Posts: 8
Joined: Fri Feb 21, 2014 11:08 am

Hosted Video Albums upload problem

Post 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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Hosted Video Albums upload problem

Post 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...
hivtop
New Member
New Member
Posts: 8
Joined: Fri Feb 21, 2014 11:08 am

Re: Hosted Video Albums upload problem

Post 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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Hosted Video Albums upload problem

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
hivtop
New Member
New Member
Posts: 8
Joined: Fri Feb 21, 2014 11:08 am

Re: Hosted Video Albums upload problem

Post 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?????
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Hosted Video Albums upload problem

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”