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.


news_57

Login / Search

 [ Join | More ]
 

news_57

Avatar
This is a spacer post for an ocPortal comment topic. The content this topic relates to: Whoohoo, more wizards! <img class="blend" style="vertical-align: middle" alt=":D" src="http://ocportal.com/themes/default/images/ocf_emoticons/grin.png" /> Let&#039;s make a theme deal...

SoccerDad

Avatar
Permissions issue: with the new theme I've created, I tried changing it to make it the default theme for the site. Here is the stack trace:

 PHP WARNING [2] fopen(/home/tlcsol/domains/whybenormal.ca/public_html/ocport
al/themes/Whybenormal/theme.ini): failed to open stream: Permission denied (ocPortal version: 3-Beta 2, PHP version: 4.3.10, URL: /adminzone/index.php?page=admin_themes&type=_edit_theme&old_
theme=Whybenormal)
Here is the stack trace:


File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/sources/global2.php'
Line    '666'
Function    'get_html_trace'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/sources/global2.php'
Line    '398'
Function    'clean_exit'
Args    

Function    'ocportal_error_handler'
Args    

'PHP WARNING [2] fopen(/home/tlcsol/domains/whybenormal.ca/public_html/ocport
al/themes/Whybenormal/theme.ini): failed to open stream: Permission denied'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/adminzone/pages/modules/admin_themes.php'
Line    '301'
Function    'fopen'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/adminzone/pages/modules/admin_themes.php'
Line    '410'
Function    'save_theme_changes'
Class    'module_admin_themes'
Type    '->'
Args    

2

'fopen(/home/tlcsol/domains/whybenormal.ca/public_html/ocpor
tal/themes/Whybenormal/theme.ini): failed to open stream: Permission denied'

'/home/tlcsol/domains/whybenormal.ca/public_html/ocportal/ad
minzone/pages/modules/admin_themes.php'

301

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/adminzone/pages/modules/admin_themes.php'
Line    '205'
Function    '_edit_theme'
Class    'module_admin_themes'
Type    '->'
Args    

'/home/tlcsol/domains/whybenormal.ca/public_html/ocportal/th
emes/Whybenormal/theme.ini'

'wb'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/sources/zones.php'
Line    '291'
Function    'run'
Class    'module_admin_themes'
Type    '->'
Args    

'Whybenormal'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/sources/site.php'
Line    '619'
Function    'load_module_page'

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/sources/site.php'
Line    '489'
Function    'request_page'
Args    

File    '/home/tlcsol/domains/whybenormal.ca/public_htm
l/ocportal/adminzone/index.php'
Line    '42'
Function    'do_site'

The theme folder and subfolders are all rwxrwxrwx, however, the ini file is rwxr-xr-x. Since both owner and group are my unix user and no world write, permission errors will obviously spew forth. Since I own the server, I always cheat by making the group apache and chmodding to allow write by group.

Avatar
This particular problem is in our bugs database.

1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: