Mohammed,
If you have access to the database, you can edit the database directly. Use a tool like PHPMyAdmin and in the blocks table, list the contents of the blocks by using the select tab when viewing the blocks table, and find the block with the problem and delete it.
I am not sure if there is an easier way, but that's the way I always do it when my custom code cracks up on me :-)
Regards,
Kobus
>>> msharo(a)wanadoo.jo 11/14/2005 2:41:11 PM >>>
dear listers,
hello.
I was trying to list most recnt announcements as I found in one of the code snipit at the drupal website. I made a new block and wrote the folloing in it:
--------
<?php
$listlength=5;
$termtolistnodesfrom="97"; //97 is the category (term) with the announcements
$nodetype="";
$showuser="no";
$excerptlength=200;
$title="Most Recent Announcements";
print listandhighlightnodes($listlength, $termtolistnodesfrom, $nodetype, $showuser, $excerptlength, $title);
?>
--------
now whenever I go to that site:
www.mystop.net
I get the following error:
--------
Fatal error: Call to undefined function: listandhighlightnodes() in /home/mystop/public_html/includes/common.inc(1857) : eval()'d code on line 9
----------
is there a way to undo what I did so that the site functions again? I wouldn't think that the solution would be to just lose the whole site?
regards,
mohammed
Temporary directory:
Location where uploaded files will be kept during previews. Relative
paths will be resolved relative to the file system path.
Where that should be? I have created tmp inside files folder and the
system still complaining
--
Regards
Jad madi
Blog
http://EasyHTTP.com/jad/
Web standards Planet
http://W3planet.net/
--
[ Drupal support list | http://lists.drupal.org/ ]
Short question: How does the drupal.org site let users add and then
download extension modules?
Long version: I have a drupal site that I've posted an application
to. The application has a plugin architecture, so users can add
modules that extend the app functionality. I want to allow users to
upload their extensions, then have those extensions available for
others to download. Sound familiar? Just like http://drupal.org/
project/Modules.
Is this functionality a module itself, or is someone managing this
page manually?
Thanks. Conan
____________________________________
Conan C. Albrecht, Ph.D.
Information Systems Department
Brigham Young University
Web: http://warp.byu.edu/
Email: conan(a)warp.byu.edu
Skype: doconix
(please IM in active working groups; send email otherwise)
>Send support mailing list submissions to
> support(a)drupal.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.drupal.org/listinfo/support
>or, via email, send a message with subject or body 'help' to
> support-request(a)drupal.org
>
>You can reach the person managing the list at
> support-owner(a)drupal.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of support digest..."
>
>
>Today's Topics:
>
> 1. drupal 4.7 (Mohammed al-shar')
> 2. Re: drupal 4.7 (Jad Madi)
> 3. Re: drupal 4.7 (Bill Fitzgerald)
> 4. Re: personalized rss feeds (vrao)
> 5. Re: Configuration visualization Block problem
> (Joan Mart?nez Serres)
> 6. Taxonomy Access question (Grand Junction)
> 7. Re: Re: [drupal-support] Drupal not working after upgrade to
> PHP 4.4.1 (Ron Wilhoite)
> 8. Re: Re: [drupal-support] Drupal not working after upgrade to
> PHP 4.4.1 (Ron Wilhoite)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 11 Nov 2005 14:23:58 +0200
>From: "Mohammed al-shar'" <msharo(a)wanadoo.jo>
>Subject: [support] drupal 4.7
>To: "drupal support" <support(a)drupal.org>
>Message-ID: <000601c5e6ba$cab481a0$0100000a@server>
>Content-Type: text/plain; charset="windows-1252"
>
>hello.
>I once wondered about that, but still I didn't get a reply.
>I would love to get drupal 4.7 and try it out on my local server (nonproduction server). how do I get the cvs for that?
>thank you.
>Mohammed al-shar'
>
>Adaptive Technology Specialist
>
>mobile: +962 (79) 6632186
>
>email: mohammed(a)mystop.net
>
>website: http://www.mystop.net
>
Hi!
Have you tried *n*aggregator.module? naggregator.module. I am not sure what naggregator.module can do, but maybe it is worth a check?
Bèr didn't make a typo in his reply to you... :-)
Regards,
Kobus
>>> vrao(a)misteam.net 11/10/2005 12:56:32 PM >>>
Right now, with the aggregator module, if I remove 'bbc news' from the list
of sources..its removed for every user.
I want to be able to control my news feeds without affecting another user...
essentially each user has his own set of rss sites.
----- Original Message -----
From: "Bèr Kessels" <ber(a)webschuur.com>
To: <support(a)drupal.org>
Sent: Thursday, November 10, 2005 5:10 AM
Subject: Re: [support] personalized rss feeds
> It really depoends on what you define as "personalized". Please be more
> verbous when asking for support.
>
> In the mean time: naggregator might do what you seek.
>
> Bèr
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
--
[ Drupal support list | http://lists.drupal.org/ ]
After upgrading PHP to 4.4.1, my site's homepage loads, but all other
pages are blank and I can't login. I restarted apache and mysql, but got
the same result. It's Drupal 4.6.3, Apache 2.0.55, Mysql 4.1.15, running
on FreeBSD 5.4.
I've copied the errors from the apache log below. If there is other
information I can provide let me know.
I downgraded my PHP ports to 4.4.0 and the site came back up.
Thanks for any help or pointers.
Ron Wilhoite
Apache error log:
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(sites/default/settings.php): failed to open stream: No such file or
directory in /usr/local/www/data/includes/bootstrap.inc on line 642,
referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(): Failed opening 'sites/default/settings.php' for inclusion
(include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on
line 642, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(includes/database.inc): failed to open stream: No such file or
directory in /usr/local/www/data/includes/bootstrap.inc on line 643,
referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(): Failed opening 'includes/database.inc' for inclusion
(include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on
line 643, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(includes/session.inc): failed to open stream: No such file or
directory in /usr/local/www/data/includes/bootstrap.inc on lin
e 644, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(): Failed opening 'includes/session.inc' for inclusion
(include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on
line 644, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(includes/module.inc): failed to open stream: No such file or
directory in /usr/local/www/data/includes/bootstrap.inc on line
645, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning:
main(): Failed opening 'includes/module.inc' for inclusion
(include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on l
ine 645, referer: http://office.bals.org/
[Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Fatal
error: Call to undefined function: db_fetch_object() in
/usr/local/www/data/includes/bootstrap.inc on line 199, referer:
http://office.bals.org/
[Wed Nov 02 00:15:46 2005] [error] [client 192.168.0.35] PHP Fatal
error: Cannot redeclare conf_init() (previously declared in
/usr/local/www/data/includes/bootstrap.inc:45) in /usr/local/www/data/in
cludes/bootstrap.inc on line 44, referer: http://office.bals.org/
--
[ Drupal support list | http://lists.drupal.org/ ]
Hi, I'm having trouble setting up the Taxonomy Access
module to disallow access to anonymous users to a
forum topic and several pages.
History: Tried using Simple Access, and that worked
very well to secure individual pages, but I am using
mailhandler and listhandler to create a discussion
list archive in a forum topic, and in order to make
that archive private, I believe I need to use Taxonomy
Access. I have deactivated and removed Simple Access
and removed the database tables related to it as well.
I have uploaded the Taxonomy Access module, run the
mysql commands for Taxonomy Access, and manually
patched the file (I'm on Windows myself with little
remote access to the site server).
The access control is working a little for the forum
topics, but not at all for the pages. Here's what
I've set up:
1 vocabulary called "Security" (for pages) with 1 term
called "Members Only". There is also a vocabulary
called "Forums" (for forum topics) with a term called
"Archive".
Authorized users can view all. Anonymous users are
supposed to only be able to view uncategorized nodes.
Here's what happens for an anonymous user:
When you navigate to a page categorized "Members
Only", an anonymous user can view it just fine. When
you navigate to example.com/?q=forum, it says "No
Forums Defined" (which is just fine, because
authorized users can see the forums) but if I navigate
to example.com/?q=node/104 (one of the forum topics
that is supposed to be secure) I can see it just fine.
This is an issue because someone may send a URL to a
non-member, and registration is required to view the
archive.
Anyone have any suggestions?
Many thanks,
Matthew O'Malley
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Hello!
This is my first mail in the list.
In my site I have a Bolcks for each section.
I have formed its visualization for each section to which it belongs.
In the main page I want that one appears single of the Blocks.
In configuració of visualization (Parameters of visibility) everything
what it has been happened to me so that appears in the first of the page
that Block, but I do not have exit.
?q = index
admin
/
about
index
http://xxx.yyy/
How one is due to specify within the configuration of visualization of
the Block so that this it appears in the entrance page?
If I accede to the node that I have published in front page IF he
appears block.
The problem is to specify the URL of the initial page from the
configuration of the Block
tnk's in advanced!
--
*********************************************************
Joan Martínez Serres
http://linuxbcn.homeip.net
*********************************************************
hello.
I once wondered about that, but still I didn't get a reply.
I would love to get drupal 4.7 and try it out on my local server (nonproduction server). how do I get the cvs for that?
thank you.
Mohammed al-shar'
Adaptive Technology Specialist
mobile: +962 (79) 6632186
email: mohammed(a)mystop.net
website: http://www.mystop.net