Drupal is up and running but how do I ...?

Site broken :s

Last weekend I updated my Drupal sites from 4.6.8 to 4.7.1, I ran itno a few bugs with the add ons I had installed and fixed those by removing those modules. All was fine till last night. I changed link in one of the blocks we use and then another person logged onto the site. He was having strange issues as "page not found" etc, and we decided to drop his account and recreate it as I could do all he was trying.

He still had issues but I decided to head to bed. I woke up today to find an email form him with the error he was now receiving when he went to the site. I checked and I could still do everything. I then went and changed a small thing in my signature and I was hit with the same issues. THe problem is that the menu isn't being dispalyed so I can't reach the admin area of the site anymore (if I type in the direct url I get his with the error:

* warning: array_keys(): The first argument should be an array in /homepages/37/d108228065/htdocs/llt-4.7.1/includes/menu.inc on line 1198.
* warning: Wrong parameter count for min() in /homepages/37/d108228065/htdocs/llt-4.7.1/includes/menu.inc on line 1198.

Page not found

Half of the side bars get generated but that is about it. I disabled the profile module using phpmyadmin as I thought that might be the cuplret... but I still can't access the site.

This morning (before I posted this) I noticed 4.7.2 had been released, so I applied the patch to my site in an attempt to fix the issues....

Views problem: User warning: Table....

I get this message when i upload views in my modules directory:

* user warning: Table 'scorp_drupal.view_view' doesn't exist query: SELECT v.* FROM view_view v WHERE v.name = 'tracker' in .../public_html/includes/database.mysql.inc on line 120.
* user warning: Table 'scorp_drupal.view_view' doesn't exist query: SELECT v.* FROM view_view v WHERE v.name = 'tracker' in .../public_html/includes/database.mysql.inc on line 120

Changing Secondary Link text to an Image

Is it possible to change secondary link menu text to an image.

As the code in page.tpl.php reads it from the file

if (count($secondary_links)) :

    foreach ($secondary_links as $link):
  • print $link
  • endforeach;

endif;

"Reinstalling" E-commerce

I just tried to install ecommerce. Install was Ok and after setting things up I could not get shipping and several other parts of the modules to work. I concluded that I had a bad install, so I tried to upgrade the module to the CVS version. (Using update.php) This broke it so none of it worked. So I got the bright idea to drop all the e-commerce tables in the database and ftp and install a "fresh" copy of the module.

Drupal will not reload the SQL querry to build the tables for the module again however. I've tried everything I can think of.

running php inside a node

Drupal 4.7.2

Please excuse me, if I don't word this question properly - first time with type of task.

I'm trying to excute this from within a node.

/sub_directory/program.php

I tired

<?php
/sub_directory/program.php
?>

and

/sub_directory/program.php

but as you can guess no luck

can I even do this from inside a node?
(I understand how to use the proper filter fairly well)

Changing the limit on the number of nodes displayed in Views

In the Views module you can set the number of nodes you want to allow to be displayed in the view you are creating. However, the limit seems to be 99. At least, I can't enter a three digit number in the "Nodes to Display" field. When viewing Zack Rosens Gmap/views mashup, I observed that he entered the number 400 in the "Nodes to display" field, so I know it can be done. How is it done?

Roger

Pages

Subscribe with RSS Subscribe to RSS - Post installation