HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problem editing css

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#37840 (In Topic #8514)
Avatar

Well-settled

Hi all,

web I try to editing a css file from the leatest version I got a permission error like this one:

PHP WARNING [2] copy(/home/vdstudio/domains/vdstudio.nl/public_html/themes/V
isual_Dreams/css_custom/global.css.1202046904) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied (ocPortal version: 3.2.7, PHP version: 5.2.4, URL: /adminzone/index.php?page=admin_themes&file=global.css&type=
_edit_css)


Here is the stack dump:

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/sources/global2.php'
Line    '728'
Function    'get_html_trace'
Args    

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/sources/global2.php'
Line    '453'
Function    'clean_exit'
Args    
'PHP WARNING [2] copy(/home/vdstudio/domains/vdstudio.nl/public_html/themes/V
isual_Dreams/css_custom/global.css.1202046904) [<a href=\'function.copy\'>function.copy</a>]: failed to open stream: Permission denied'

Function    'ocportal_error_handler'
Args    
2

'copy(/home/vdstudio/domains/vdstudio.nl/public_html/themes/
Visual_Dreams/css_custom/global.css.1202046904) [<a href=\'function.copy\'>function.copy</a>]: failed to open stream: Permission denied'

'/home/vdstudio/domains/vdstudio.nl/public_html/adminzone/pa
ges/modules/admin_themes.php'

701

array

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/adminzone/pages/modules/admin_themes.php'
Line    '701'
Function    'copy'
Args    
'/home/vdstudio/domains/vdstudio.nl/public_html/themes/Visua
l_Dreams/css_custom/global.css'

'/home/vdstudio/domains/vdstudio.nl/public_html/themes/Visua
l_Dreams/css_custom/global.css.1202046904'

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/adminzone/pages/modules/admin_themes.php'
Line    '192'
Function    '_edit_css'
Class    'Module_admin_themes'
Object    Module_admin_themes::__set_state(array( ))
Type    '->'
Args    

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/sources/zones.php'
Line    '324'
Function    'run'
Class    'Module_admin_themes'
Object    Module_admin_themes::__set_state(array( ))
Type    '->'
Args    

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/sources/site.php'
Line    '643'
Function    'load_module_page'
Args    
'adminzone/pages/modules/admin_themes.php'

'admin_themes'

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/sources/site.php'
Line    '514'
Function    'request_page'
Args    
'admin_themes'

true

File    '/home/vdstudio/domains/vdstudio.nl/public_html
/adminzone/index.php'
Line    '42'
Function    'do_site'
Back to the top
 
Posted
Rating:
#37843
Avatar

Hi,

The /home/vdstudio/domains/vdstudio.nl/public_html/themes/Visual_Dreams/css_custom/ directory needs to have full permissions.



Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37855
Avatar

Well-settled

Thanks Chris,

I had to know that by myself  O_o
Sit to long behind the screen is not really the best things…  grinnnnn
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: