Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 577 Vote(s) - 3.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drupal Commons site has no style after install - missin js and css files at all

#1
the **very last / newest update**

on a quick step i did the **toogle the css-aggregation** - and switched it to off: see the results of this action on the site:

[To see links please register here]




i had toggled the css-aggregation to off - in the performance-section:

see the first results:

[To see links please register here]

well i have to do more...


[To see links please register here]


[To see links please register here]


> I also had the same problem and it was solved by disabling CSS
> Optimizaition. checked all my CSS under
> /profiles/drupalcommons/themes, and all are UTF-8. Hi give this a try,
> you might find an answer

[To see links please register here]

It seems to
> indicate I found the solution. You just have to convert all your css
> files in unix/utf8 and it's done. Hope it helps

[end of the very very latest input to this topic]


hello dear users - good day all! Besides some ideas from drupalers to upload a new theme [since the old basic one could have some issues shipped with i have found an overview where settings and configurations could be made.

Well now i found out how to see some overiews - and made a big step ahead - now i ve landed in the View activity_log_stream, displaying items of type Activity Log: <a href="http://imageshack.us/photo/my-images/40/viewactivitylogstreamdi.jpg/">see the image:</a> here i can change alot! well but i guess that i have to figure out how...!?

This view can be generated with this setup - site:

[To see links please register here]

Now i am happy to see some overview on a site where i can make some adjustments and configurations: see Home » Administer » Site building » Views: Here i seem to be able to Edit view activity_log_stream

[To see links please register here]

**View activity_log_stream,** displaying items of type Activity Log.

But i must say that i need some recomondations to figure out how to get some styles on to the page. Do you have some recommodations i love to hear from you many many greetings

btw: you can have the admin login
just let me know just contact me...


I tried to export the setting-data: **Note:** The file could not be created.

see

[To see links please register here]




$view = new view;
$view->name = 'activity_log_stream';
$view->description = 'Displays activity streams.';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'activity_log_messages';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'message' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'message',
'table' => 'activity_log_messages',
'field' => 'message',
'relationship' => 'none',
),
));
$handler->override_option('sorts', array(
'last_updated' => array(
'order' => 'DESC',
'granularity' => 'second',
'id' => 'last_updated',
'table' => 'activity_log_messages',
'field' => 'last_updated',
'relationship' => 'none',
),
));
$handler->override_option('arguments', array(
'stream_owner_type' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'activity_log_default_stream_owner_type',
'default_argument' => '',
'validate_type' => 'activity_log_validate_stream_owner_type',
'validate_fail' => 'not found',
'glossary' => 0,
'limit' => '0',
'case' => 'none',
'path_case' => 'none',
'transform_dash' => 0,
'id' => 'stream_owner_type',
'table' => 'activity_log_messages',
'field' => 'stream_owner_type',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
'2' => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_argument_fixed' => '',
'default_argument_user' => 0,
'default_argument_activity_log_stream_owner_type' => 'user',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'page' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
'1' => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_php' => '',
),
'stream_owner_id' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'current_user',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'break_phrase' => 0,
'not' => 0,
'include' => array(
'og' => 0,
'ur' => 0,
),
'id' => 'stream_owner_id',
'table' => 'activity_log_messages',
'field' => 'stream_owner_id',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
'2' => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_argument_fixed' => '',
'default_argument_user' => 0,
'default_argument_activity_log_stream_owner_type' => 'user',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'page' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
'1' => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'display_type' => array(
'operator' => '=',
'value' => 'web',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'display_type',
'table' => 'activity_log_templates',
'field' => 'display_type',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'perm',
'perm' => 'view all activity messages',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('empty', 'There are no visible status updates.');
$handler->override_option('empty_format', '1');
$handler->override_option('use_ajax', TRUE);
$handler->override_option('items_per_page', 20);
$handler->override_option('use_pager', '1');
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'activities');
$handler->override_option('menu', array(
'type' => 'normal',
'title' => 'Activity stream',
'description' => 'Displays activity streams.',
'weight' => '0',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler = $view->new_display('page', 'Page', 'page_2');
$handler->override_option('path', '');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));

If you want to have look at the admin area - just lemme know!


**by the way** - i noticed that the following tables were not being created in the new installation..


og_access_post
og_notifications
content_group
content_group_fields
facebook_status_tags
fbss_comments

for whatever reason - i do not know..

on a first sight i tink that the following two tables might be of some more specific interest: what do you think!?

content_group
content_group_fields


well at the moment i still try to find out what is missing - which issues caused the serious lack of style.
generally spoken: as for being confronted with the **site still remaining the same** - after the hard core changes[of last night due to my server-admin while chhanging the chown and chmod of the whole site], i am musing about all the tiny things and changes i did last week: i will try to go through all tiny changes i made

i will check all the **site-administration-adjustments** tonight: i had some corrections and tests done last week accordingly some hints: "This is due that by install in the performance administrative section ( admin/settings/performance ) you have on Bandwidth optimizations the option "OPTIMIZE CSS FILES" and "OPTIMIZE JAVASCRIPT FILES" enabled. This settings are normally very usefully for production(live) sites- i did this for testing and customize the Drupal Commons install cuz i thougth that it's better to disable as to have CSS and JS development support with tools like "Firebug" using Firefox."


What **has been done during the last 24 hours:** accordingly to all the suggested and adviced changes that are made by

Bon Espresso
Siwei Shen
Shaun Dychko
clive

My Server-admin made some changes for /home/vhost/WWW/campus-24.com/
For all files/folders the **permission-/ownership-settings** were set to


owner vhost:www
664 for files and 2775 for the folders)

also the following corrctions / adjustments were made:

php_admin_value open_basedir
"/home/vhost/WWW/campus-24.com/:/usr/local/httpd/icons/"
php_admin_value max_execution_time 360
php_flag session.auto_start off
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_flag mbstring.encoding_translation off
php_admin_value memory_limit 128M
php_admin_value max_input_time 360
php_admin_value post_max_size 16M
php_admin_flag safe_mode_gid off
php_admin_flag safe_mode off

but the site does not look different at the moment. All is still stylefree:
[note: due to some advices from last week i have set in admin settings the css & js settings to a special mode to a **somewhat called off-mode**]. Guess that i can do some corrections here too]

Well, no changes in the look & feel appeared. Guess that this is just not surprising since the correct permission were missing during the installation - so i guess that i have to do a installation with the correct permissions - and ownership then all will go all right!?

**end of update**


here the **orginal posting** with all the description and ideas


Drupal Commons site has no style after install: it looks like

[To see links please register here]



**update:** thanks to Siwei Shen that asks below for the permission on the specified paths - eg as the "www-data" user. Well i guess that i am not able to read the css-folder.
No - i am not since all of the below mentined **folders are owned by the wwwrun-user**


We have the following ones in

/home/vhost/WWW/campus-24.com/sites/default/files/js
/home/vhost/WWW/campus-24.com/sites/default/files/css
/home/vhost/WWW/campus-24.com/sites/default/files/imagecache
/home/vhost/WWW/campus-24.com/sites/default/files/ctools
/home/vhost/WWW/campus-24.com/sites/default/files/pictures


But the folders contain files - that are owned by the vhost-user.
**But wait:** i guess that i have copied the files into the folders afterwards (sorry sorry i cannot remember this exact story any more) i tried everything i coud do. Guessing that i also did a try to copy the files into the folder.
But the most interesting thing to me is - that the **folders are owned by the wwwrun-user.** What do you think!?

Besides the above mentined folders the two **files are owned by the wwwrun-user**

- default-user.png
- default-group.png

During the install i noticed warnings about - too many files open.

i heard about the "css_1acaad3d96ebad99fc9b6ef9d4ee4.css" file: This is called an automatic generated file that compress all CSS styles used as to improve speed and help not overloading rendering. What if this file is missin in my folder - does my site than have (!!!) to look like the above mentined site?

**Note** the original htaccess was changed by my server-admin. But i guess that i (
and that means the site-admin [my friend] miss (and have forgotten a important option] see the htacess that we use actually - it is a hacked one: see it here
pastebin.de/22149




see the Link

[To see links please register here]


No picture, no css. Is there any right or permission problem ?

see the error reporting

[To see links please register here]



**Error reporting**

The configuration options have been saved.

warning: array_map() [function.array-map]: Argument #2 should be an array in /home/vhost/WWW/campus-24.com/modules/system/system.module on line 1020.
warning: array_keys() expects parameter 1 to be array, null given in /home/vhost/WWW/campus-24.com/includes/theme.inc on line 1832.
warning: Invalid argument supplied for foreach() in /home/vhost/WWW/campus-24.com/includes/theme.inc on line 1832.



see much much more error-reporting:



**see much much more error-logs:**

[To see links please register here]


on the site

[To see links please register here]

- i have the dblog-log-info
What is the output of "cat /proc/sys/fs/file-nr"?

see here the dblog log which is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information.


Type php
Date Monday, 16 January, 2012 - 21:47
User martin
Location

[To see links please register here]

Referrer

[To see links please register here]

Message array_keys() expects parameter 1 to be array, null given in /home/vhost/WWW/campus-24.com/includes/theme.inc on line 1832.
Severity error
Hostname 188.99.183.60


Type php
Date Monday, 16 January, 2012 - 21:47
User martin
Location

[To see links please register here]

Referrer

[To see links please register here]

Message array_keys() expects parameter 1 to be array, null given in /home/vhost/WWW/campus-24.com/includes/theme.inc on line 1832.
Severity error
Hostname 188.99.183.60
Operations


Type php
Date Monday, 16 January, 2012 - 21:47
User martin
Location

[To see links please register here]

Referrer

[To see links please register here]

Message array_map() [<a href='function.array-map'>function.array-map</a>]: Argument #2 should be an array in /home/vhost/WWW/campus-24.com/modules/system/system.module on line 1020.
Severity error
Hostname 188.99.183.60
Operations

Type php
Date Monday, 16 January, 2012 - 21:47
User martin
Location

[To see links please register here]

Referrer
Message Invalid argument supplied for foreach() in /home/vhost/WWW/campus-24.com/includes/theme.inc on line 1832.
Severity error
Hostname 188.99.183.60
Operations



guess that some tiny things are missing - as said above: i come back and report all the findings.


Reply

#2
run

$ sudo chmod -R 775 sites/default/files
$ sudo chgrp -R www-data sites/default/files

from within the site root to assign all the files to the www-data group and give the group read and write permissions. You can also use CPanel to do this through the GUI, if that's your setup. This looks like a file permissions issue (and a very common one!).
Reply

#3
Do you have the "permission" on the specified path? e.g. as "www-data" user, are you able to read the CSS folder?

UPDATED:

Thank Shaun Dychko for giving the detailed command.

Beside of making sure that you have 775(or 755) permissions on the target folder/files, you also have to make sure that you have the permission to access current folder and/or its parent folder "." and ".."

e.g. if you are the admin and under a console, typing:
( assuming "www-data" is a linux user, and "regular_user_group" is the group he belongs to. )

$ ls -al
drwxr------ 15 www-data regular_user_group 4096 2012-01-17 12:00 .
drwxr------ 15 www-data regular_user_group 4096 2012-01-17 12:00 ..
drwxrr-xr-x 15 www-data regular_user_group 4096 2012-01-17 12:00 app

# other files ...

see the line 2 and 3? In this case, although the "www-data" user have the access permission to the "app" folder, he is not able to access the "." and ".." folder. As a final result, the "app" folder is still not accessible.

So, please make sure that you have the permission both on the target file and the "." and ".." paths.





Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through