Impossible to crete / update contents with Firefox also with user/1 (no problem with IE!)

My website works correctly for one year.
I don't know what did happen but its about one month that under Firefox is impossible to update or create nodes.
I tried to solve the problem re-installing Firefox, but I discovered that the problem subsist also on other machines / OS.
I also updated Drupal to 4.7.7: nothing is changed.

The log report the following alerts:

node/add -- denied access ----- Guest -----(but I can access and I'm user/1!)
user/1 ------ denied access ----- Guest -----

and so on.

Help plzzz

Hello
Im making a select statement and the outputs are in a table but i want the entry of a column to be hyperlink to take to another page

thats a part of the code im using ..:

failed to open stream..

drupal-4.7.3
http://www.shreemaa.org is broke

with this error below.
can someone help me identify what the problem is?
I have /home/shreemaa/public_html/httpdocs/drupal-4.7.3/includes/* all intact.

please help me.
thanks, Susan

===============
alien@www [/etc/init.d]# php /home/shreemaa/public_html/httpdocs/drupal/index.php

moved to new server + upgrade from 4.70 to 5.3

ha, someone shoot me now. I will keep it short.

I had a problem with my 4.7 on an old server. Some fool had hacked his way in. OK. Decided to change servers, and upgrade while I was at it. The old server had PHP 4.3 something. The new one has 5. something.

I have switched servers. I have uploaded all the old database data into a new database with the same name but different database user. I have to upload all the data manually, so initially, there is nothing from my old site on the new server.

need to evaluate tac_lite grants

I'm attempting to create a simple php evaluation of the tac_lite grants (terms the user is allowed to view) that I can use for non-node material that is not regulated by tac_lite. The code below doesn't work however I got the idea from viewing the tac_lite module and was hopeful that it might help someone understand what I am trying to accomplish. Using Drupal 4.7

Faulty code:

global $user;
if ($grants->tid == 4) 
{return TRUE;}

Below I pasted the functions from tac_lite for reference.

I'd appreciate any guidance that would help resolve my shortfall here.

// $Id: tac_lite.module,v 1.5 2006/05/03 17:15:19 yogadex Exp $

/**
* Return the term ids of terms this user is allowed to access
*
* Users are granted access to terms either because of who they are,
* or because of the roles they have.
*/
function _tac_lite_user_tids(&$account) {
$grants = array();
if (count($account->tac_lite)) {
// $account->tac_lite is array. Keys are vids, values are array of tids within that vocabulary, to which the user has access
foreach ($account->tac_lite as $tids) {
if (count($tids))
$grants = array_merge($grants, $tids);
}
}

// add per-role grants in addition to per-user grants
$defaults = variable_get('tac_lite_default_grants', array());
foreach ($account->roles as $rid => $role_name) {

screwed up ... can I just start from a blank slate?

I foolishly tried to upgrade from 4.7 to 5.1 by using the upgrade link in Fantastico (stupid, yes I know).

I followed the directions to restore my 4.7 site, but am getting a series of error alerts.

I have my database backed up and I have an up-to-date backup of my drupal folder.

Instead of spending a bunch of time trying to figure to fix 4.7 and then still have the issue of an upgrade hanging over my head, would it be easier to simply just start over from scratch with a clean install of 5.x rather than worrying with upgrades?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x