1
kiwiguy
problem with xcgallery!
  • 2004/5/13 15:39

  • kiwiguy

  • Friend of XOOPS

  • Posts: 295

  • Since: 2004/4/19


When i uploaded the xcgallery module to my modules folder i chmodded 777 to the albums folder and to the userpics folder as told and then went into the admin section in my site and place 0777 to the prefences in there also so people could upload to my gallery.

My problem is that the album and user pics folder even though i chmod it to 777 it always reverts back to the 755 setting and which in turn makes it impossible to upload pictures.

Where am I going wrong and how do i fix this?

cheers kiwiguy

2
Brad
Re: problem with xcgallery!
  • 2004/5/13 17:06

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


If I were to guess, and that's exactly what I'm going to do, the problem lies with your host, as opposed to xcGallery itself.

My site is hosted by LunarPages and they recently changed how PHP was run to make it more safe. However, as an artifact of that, I can't have any directory at 777. Like happens with you, my directories revert to 755. Frustrating.

I assume there is some sort of work-around but I haven't yet looked into it. I will be looking into it in the future, just not sure how far into the future it'll be. If you happen to find a work-around, please post it here or on the xcGallery site.

3
kiwiguy
Re: problem with xcgallery!
  • 2004/5/14 3:43

  • kiwiguy

  • Friend of XOOPS

  • Posts: 295

  • Since: 2004/4/19


Thanks brad i will for sure get back to you with that work around if that was the problem which i don't think it is.

Yes my subdomain is on safe on mode but the main domain is not on safe mode. The xcgallery was working fine before i screwed up and deleted the site, the only thing that had to be disabled was the ecard section as ecards cannot be sent whilst in safe mode.

I still have no answer to my problem soes anybody else have any further ideas ]SCREENSHOT

this is my debug info and a link to my screen shot of what i have on my preferences




[quoteDebug Info
USER:
Array
(
[ID] => f57d27e723e87e8aa61c41cd9c8aabf6
[am] => 0
[liv] => Array
(
[0] => 7
[1] => 8
[2] => 9
[3] => 10
[4] => 11
)

[ecard] => Array
(
[0] => 1083916358
[1] => 1083917264
[2] => 1083935121
[3] => 1083937140
[4] => 1083937484
[5] => 1083938454
)

)

GET :
Array
(
)

POST:
Array
(
)
][/quote

4
kiwiguy
Re: problem with xcgallery!
  • 2004/5/14 5:38

  • kiwiguy

  • Friend of XOOPS

  • Posts: 295

  • Since: 2004/4/19


Thanks guys fixed the problem and yeah

If you have a site on safe mode on and cannot be changed well then you need to alter the init.inc.php file in xcgal/include/init.inc.php

On line 33 it reads


//define('SILLY_SAFE_MODE',1);


just uncomment it and it will work For those who don't know what uncommenting means it just means removing the // from it
so it should look like this:

define('SILLY_SAFE_MODE',1);

The only other issue is that you still will not be able to send ecards so if anybody does know the fix for somebody to send a ecard while there subdomain is on safe mode on then can you please post it here for us thanks

kiwiguy

Login

Who's Online

222 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits