error when requiring files on other servers (fopen)

Okay, I just set up my first dedicated server and moved some existing sites over to it. Everything is running fine, except a script that I have in one of my blocks that calls a file on another server. When I try to view the site, I get the following error

Failed opening required 'http://www.example.com/somefile.txt' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /
home/example/public_html/includes/common.inc(1201) : eval()'d code on line 43

The code that's throwing the error is:

Add a new page

Sorry for this newbie post but I am kinda lost trying to do what I know must be a simple task.

I basically need to just programatically create a new page in a drupal 4.7 system w/o going through the admin user interface. (the end result is a web service that our office machine can hit to publish a new page on our drupal site). So it is going to be an automatic thing.

CCK Errors, need help

Hello,

I have installed CCK version 4.7 onto Drupal 4.7, and the modules were activated and seemed to be installed correctly.

However, when I am attempting to create new content types i get the following errors:

Can't do admin functions. "Access Denied. You are not authorized to access this page."

I am running 4.7.4, planning to upgrade when v 6 goes in to general release.

I have had the site in question running for over a year with no access issues. Today when I logged into add some content, I successfully logged in and viewed the page that shows "History - Member for 1 year ...". I see the navigation blog on the left side bar with links to "create content", "administer" etc. But when I click on those links I am getting:

Access Denied
You are not authorized to access this page.

Problem with single quote display after importing database to Drupal site

I am not sure if it is Drupal problem, but wondering if any of you faced this problem while exporting database from one place to other for your site.

I exported database from Main(production) site and imported it (using SSH no
phpmyadmin) to new location for subdomain. After that was done I noticed on
subdomain site where ever there are single quotes (" ' ") these chars are appearing like: ‘

Drupal + PHP5.2 at Site5: 500 Internal Server Error

Howdy,

at Site5 they are going to stop supporting PHP4 by end of February 2008, so i took the step and moved my sites to PHP5. This is easily done by appending (uncommenting in 5.x) the following line in the .htaccess file: AddHandler application/x-httpd-php5 .php and things start running on Site5 PHP 5.2.0.

Now, the problem is that when on PHP5, i keep getting a 500 Internal Server Error on the Drupal 4.7.x sites and on a site that was upgraded from 4.7.3 to 5.x

 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x