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
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.
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.
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: ‘
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