Drupal 6.x
Upgrade permissions
OK, I'm trying to upgrade from 6.14 to 6.15.
The site only had core files installation.
I took the working old site off line.
Cleared out the 6.14 files.
installed the 6.15 files sans the sites directory.
Inadvertently closed the drupal page that took the site offline.
upgrade.php says I have no permissions.
I tried to change the setting the the settings.php fiile, but it won't let me over write the new file......
How can I change the settings file so that it can be over written.
How do I change it back once I'm done?
Thanks for your time in advance
Jim Lamb
how do i get a block to only show up on user profile pages
Im trying to get a block to only show on users accounts. But whenever I put to show only on user/* under block visability settings it shows up on all user pages, such as user/*/edit and user/*/contact.
I just want the block on user accounts. Im guessing I nee dto put some php in, but I have no idea what :(
Thanks for any advice.
system.module + warning: Illegal offset type line 885
Happy New Years everyone. I'm new to Drupal, and I think it absolutely rocks.
I'm running Drupal 6.15 for a client, and getting the following error:
warning: Illegal offset type in /home/client/web_root/drupal/modules/system/system.module on line 885.
Here's line 885. I'm using the Zeropoint Theme. Any thoughts on what's causing this error and how to resolve it?
// Give the scripts proper path information.
$scripts = array();
foreach ($themes[$key]->info['scripts'] as $script) {
//This is line 885
$scripts[$script] = dirname($themes[$key]->filename) .'/'. $script;
}
$themes[$key]->info['scripts'] = $scripts;
// Give the screenshot proper path information.
if (!empty($themes[$key]->info['screenshot'])) {
$themes[$key]->info['screenshot'] = dirname($themes[$key]->filename) .'/'. $themes[$key]->info['screenshot'];
}
}Moving from PHP 5.3 to PHP 5.2.9
Greetings and Happy New Year
I got a question that involves moving my drupal site from a PHP 5.3 webserver to another running PHP 5.2.9. I'd like to know if doing so will cause my site to break due to differences between the two PHP versions. My reason for doing is because I've done most of my development on my home machine that runs 5.3 while my webhost is still using 5.2.9. Even with 5.3, I encountered some module issues with the current version of drupal.. Mainly warnings about how objects are referenced. http://drupal.org/node/665156 for example. I applied some patches to the modules and they work fine under PHP 5.3 right now
Node History- Displays users who viewed a node to author of the node and generates reports
Here is what I want and hope already exists out there, so I don't have to code it on my own.
I want a module that allows the author of a node to see what registered users viewed/accessed his node in a database / report format. Also, a database or some sort of file is generated and emailed to them on a regular basis or cycle of their choice. For instance, they can select to receive a node history report once a week, once a day, once a month, etc, something along those lines. The history for the node could be accessible via a tab called "History" when they are at the node.
The node history and report would show information from the user's profile, in addition to the user's name and the date they accessed the node, and how many times that day they accessed it, like follows in a table format:
Name | Username | Date Accessed | # of Views
Company
Phone Number
Can Google Analytics do that? I am not sure if it can.
Getting all values in a specific CCK Field
Hi,
I am not sure this is the right location to post this - please direct me to the correct location if I'm mistaken.
We have CCK installed and several content types + fields deployed. We are interested in getting access to an array which contains all of the values of one of the fields (specifically, a text field which we use as an unique ID field). We are not interested in data in the specific content type's other fields in this piece of code.
How is it possible to get our hands on such an array?
Thank you in advance,
yonadav
