[closed]cms_stylesheet with blocked access to tmp

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
aleksanderlech
Forum Members
Forum Members
Posts: 113
Joined: Thu Jan 29, 2009 1:37 pm

[closed]cms_stylesheet with blocked access to tmp

Post by aleksanderlech »

Hi there,
how can I use CMS MS without access to tmp folder - problem is that service provider (home.pl) blocks web acces to this folder.

Previously, I was using {stylesheet} instead of (cms_stylesheet} and everything was ok. It's impossible in last CMS version (1.10.3 fresh install)

Problem was discussed already there
http://forum.cmsmadesimple.org/viewtopi ... =3&t=51812

And for me there is no way to change hosting provider, is there any other way to use stylesheets instead of hadrcoding path to stylesheet files?

Regards
Aleksander
Last edited by aleksanderlech on Mon Jun 18, 2012 6:08 am, edited 1 time in total.
SimonJ

Re: cms_stylesheet with blocked access to tmp

Post by SimonJ »

Why can't you make a directory called tmp? Makes no sense to me. There is nothing special about it.

Code: Select all

simon@i1501:~/Shared/Testing$ ll
total 3684
drwxr-xr-x 11 simon simon    4096 Jun  5 11:07 ./
drwxr-xr-x 14 simon simon    4096 Jun  6 07:47 ../
drwxr-xr-x  5 simon simon    4096 Jun  3 10:01 admin/
drwxr-xr-x  2 simon simon       6 Jun  3 13:59 cgi-bin/
-rwxr--r--  1 simon simon 2156260 Jun  1 20:04 cmsmadesimple-1.10.3-english.tar.gz*
-rw-r--r--  1 simon simon     457 Jun  3 10:06 config.php
drwxr-xr-x  2 simon simon    4096 Jun  3 10:01 doc/
-rwxr--r--  1 simon simon    1150 Nov  6  2011 favicon_cms.ico*
-rwxr--r--  1 simon simon     330 Nov  6  2011 fileloc.php*
-rwxr--r--  1 simon simon    8032 Dec 10  2011 include.php*
-rwxr--r--  1 simon simon   10685 Nov  6  2011 index.php*
drwxr-xr-x 11 simon simon    4096 Jun  3 10:02 lib/
-rwxr--r--  1 simon simon     955 Nov  6  2011 moduleinterface.php*
drwxr-xr-x 14 simon simon    4096 Jun  4 13:50 modules/
drwxr-xr-x  2 simon simon    4096 Jun  3 10:01 plugins/
-rwxr--r--  1 simon simon    2535 Nov  6  2011 stylesheet.css*
drwxr-xr-x  5 simon simon      83 Jun  3 10:01 tmp/
drwxr-xr-x  7 simon simon     121 Jun  3 10:32 uploads/
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: cms_stylesheet with blocked access to tmp

Post by calguy1000 »

Find a new host. CMSMS does not support mod_security, and specifically CMSMS does not support or adapt to some arbitrary hosts arbitrary firewall rules... and that's what they are, arbitrary. There's absolutely no reason that they should not allow access to the tmp directory.

Issue closed.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: cms_stylesheet with blocked access to tmp

Post by Dr.CSS »

The stylesheet call isn't the only thing that uses that folder so a new host or get them to change the policy on your site is your only option...
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm

Re: cms_stylesheet with blocked access to tmp

Post by mcDavid »

Are you shure you're not confusing CMSMS's tmp folder with the operating systems /tmp folder?
User avatar
aleksanderlech
Forum Members
Forum Members
Posts: 113
Joined: Thu Jan 29, 2009 1:37 pm

Re: cms_stylesheet with blocked access to tmp

Post by aleksanderlech »

I'm not doing anything with tmp folder it was created during install.
Callguy's right, issue closed, I'll stay with hardcoded paths right now, and I hope one day they change their security policies.

Thank you everybody for your help.

Regards
Aleksander
Post Reply

Return to “CMSMS Core”