Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:46:46 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Download gallery help  (Read 255 times)
bupaje

Offline Offline

Posts: 519


WWW
« on: October 21, 2011, 04:52:09 PM »

I just switched to HostGator and note on this page

http://stormvisions.com//pages/library/photoshop/photoshop-downloads/photoshop-brushes.php

errors like this

Code:
Warning: filemtime() [function.filemtime]: open_basedir restriction in effect. File(/home/storm59/public_htmlmedia/daily/fractology1.zip) is not within the allowed path(s): (/home/storm59/public_html) in /home/storm59/public_html/modules/download_gallery/view.php on line 428

Warning: filesize() [function.filesize]: open_basedir restriction in effect. File(/home/storm59/public_htmlmedia/daily/fractology1.zip) is not within the allowed path(s): (/home/storm59/public_html) in /home/storm59/public_html/modules/download_gallery/view.php on line 429
which refer top these lines starting at 428 in view.php

Code:
  //echo "<!-- DEBUG filelink: $filelink -->\n";
$unixtime = filemtime($filelink);
$filesize = filesize($filelink);
}

I'm not sure if that function is not supported, if it can just be removed or what. Can someone offer me a fix for this?

Thanks for any help.
Logged

My Blog, My Site
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #1 on: October 21, 2011, 10:06:41 PM »

Could it be that you modified your media folder in your advanced settings?

I think it might be set as media instead of /media
Logged

Professional WebsiteBaker Solutions
bupaje

Offline Offline

Posts: 519


WWW
« Reply #2 on: October 21, 2011, 11:17:07 PM »

Ho, it is set as you said but hmmmm... I did have a problem with the media folder '/' a long while ago. I wonder if I made a change somewhere else. Will have to investigate. Thanks.
Logged

My Blog, My Site
bupaje

Offline Offline

Posts: 519


WWW
« Reply #3 on: October 22, 2011, 12:04:04 AM »

Thanks Ruud. That was what I needed to fix my memory. I had added a slash to the domain in the config file because I was having a problem with missing slashes on my old host. On the new server I removed the extra slash and now it works fine.
Logged

My Blog, My Site
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #4 on: October 24, 2011, 03:55:00 PM »

Quote
I think it might be set as media instead of /media

/media is default

Dietmar
Logged

We are human beings - and nobody is perfect at all.
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!