Fedora Servers :: Drupal PHP Scripts Not Executing?
Mar 20, 2011
I extracted the Drupal package (6.20) to /var/www/html and followed the provided install.txt file, but whenever I try to navigate to the site it simply comes up with the PHP script as plain text (it does automatically redirect me to install.php) rather than executing it. PhpMyAdmin works fine, as does a simple PHP "hello world" page I made, so I assume PHP isn't the problem. Now my question is: what could be causing this?
I can't tell for sure if the problem's with Drupal itself (I started over once with no luck) or some setting on my system, but since I don't have an account there I figured I'd ask here first.Running F14 x64, Apache, PHP and MySQL are all at latest versions available.
View 1 Replies
ADVERTISEMENT
Apr 2, 2010
I'm trying to run Xampp so that I can test Drupal out. I'm running Lucid Lynx Beta. I'm having a lot of trouble getting Xampp to run. I downloaded Xampp version 1.7.3a and installed it but when I type http://localhost in Firefox to see if Xampp is working it just says:
Quote:
This is the default web page for this server. The web server software is running but no content has been added, yet.
View 5 Replies
View Related
Nov 29, 2010
I have installed Drupal 6 using synaptic and it shows as installed in synaptic but NOT in my Ubuntu software center but it is nowhere to be found.
View 4 Replies
View Related
May 20, 2011
I had OpenERP completely installed and running just fine. All basic install instructions just worked out of the box on Ubuntu 11.04. Now, we also are going to develop our own web site. For that we needed a web development environment. Due to the small size of our home business, we have to do it all on one PC. So I went ahead and installed everything needed to get Drupal going, among which I had to install:
LAMP
Drupal
Memcached
Memcache
Postfix
Tomcat
and other packages.It all works like a charm, but now my openerp-web crashes when I start it with the following message:
Code:
[20/May/2011:16:17:19] ENGINE Bus STARTING
[20/May/2011:16:17:19] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/May/2011:16:17:19] ENGINE Started monitor thread 'Autoreloader'.
[code]....
For those that do not know it: it is a module that interfaces with the OpenERP server software to allow people to access the system through their web browser, effectively eliminating the use to install a client on their PC. Very practical for our light weight laptop that we use in combination with my PC.
Normally one would connect by browsing to [URL] and automatically get connected with the OpenERP environment.Now, however, that does not work anymore with the above error as a result. Do you guys have any idea if I have to configure something in Apache to get this working again? Possibly with instructions, otherwise I'd get lost again in no time.
View 2 Replies
View Related
Mar 8, 2010
I'm sorry if this has been posted already but I REALLY did look and couldn't find the same issue(s) addressed anywhere. Similar, but not similar enough, in my opinion, to barge in and switch the subject.
Ok, I have Apache httpd set up so I can use a public_html folder inside of my /home/username directory. Now, I'm about to take a web dev course that teaches JSP/Servlets for building web applications and I'd like to set my environment up so that I can execute .jsps from my web root (/home/username/public_html) just like I would a CGI or PHP script. I have a web host that will give me JSP support for a few extra bucks a month, but I'd rather do it locally... and free.
I have Tomcat installed and running wonderfully. The test page and all the examples work fine and execute immediately. But when I try to execute a .jsp file inside of my web root (/home/username/public_html) I just get the raw Java tags and plain-old HTML rendered in my browser. I pretty much knew that wouldn't work; that'd be way too easy. I just wanted to see what would happen.
I looked through all the tomcat ".conf" files I could find to see if it was similar to setting up httpd inside of my home directory, but I didn't have any luck. It's not a file permissions problem... I've been messing with web "scripts" long enough to check that the files are executable. All of the files needed (borrowed from the examples that come with Tomcat) were in their correct paths inside of my web root, as well. Added :8080 to the end of localhost (like you do to see the Tomcat test page(s) instead of the httpd test page) but that didn't help.
I scoured the web for directions but could only find one solution that was Ubuntu-specific (just install tomcat6-user-something-or-another.deb, which doesn't exist in the Fedora repos), then I looked around here, trying every search term that seemed reasonable to me, and I can't find anything.
I realize I can just write the code and put it in a directory that does allow these things to be executed (var/lib/tomcat6/blah-blah-blah/going-by-memory) and run them from there, but I'd like to be able to just keep all of my web files in the same place; a place where I have full permission to do whatever I want... my home directory public_html.
Is this possible (has to be, right?)? Is this a dumb idea to begin with (I'm prone)? What is the best way to develop JSP/Servlets without having to deal with permissions every time I want to put a new script in a directory outside of my home directory that's already set up to allow the execution of said script?
View 3 Replies
View Related
Jul 1, 2011
Is it possible to complete a drupal installation and change the configuration from the comman line or a script. Id like to be able to automate the process of installing and configuring drupal. I should say that this is quite a bit beyond me. Ive not long started learning scripting.
View 2 Replies
View Related
Jul 13, 2011
I have user names / info for several thousand users I want to add to the website Im working on. Though this is a test server, I would like to have some way to automate adding users to my drupal site. So, I'm looking into drush. From the man page for drush, I dont see any way to add users. Once I figure out how to add 1 user, and configure thier default pages ect, I can write an Expect (TCL/Tk) script to handle the processing. But I need to know how to add users in drupal 7.4 via the terminal.
View 1 Replies
View Related
Sep 1, 2011
There are many ways of accomplishing this installation. What this tutorial attempts to do is to outline the most basic installation possible. It show you how to install Drupal from the command-line to speed up "development" of your website. [[EDIT]] REMOVED LAMP SERVER INSTALL PART OF TUTORIAL AS THERE ARE MUCH BETTER (MORE SECURE) TUTORIALS ON THIS TOPIC.
Install drush for using the command line on Drupal. Create some management scripts to manage Drupal via the command-line. Create some installation scripts to install drupal via the command-line. Make the scripts executable and install them in /usr/local/bin. Open a terminal and install Drupal with one command.
01. You have your LAMP server, Drupal MySQL database and databse user setup and ready to go! For development sites on my local desktop machine I use root as drupal's database user because it speeds up re-installation when necessary.
02. Install drush (DRUSH 4.4 AVAILABLE IN NATTY WITHOUT PPA)
#apt-get install drush
03. Create 3 folders to hold your drupal backups, scripts and libraries
#mkdir /home/user/drupal/backup
#mkdir /home/user/drupal/scripts
#mkdir /home/user/drupal/libraries
#cd /home/user/drupal/scripts
04. Create a script to manage web server permissions
#gedit drupal-siteperms && chmod +x drupal-siteperms
---------cut-and-paste----------
#! /bin/bash
cd /var/www
[code]...
View 2 Replies
View Related
Apr 6, 2011
I've successfully set-up Drupal on my machine on a local network and have no problem accessing it with the virtual host names defined in /etc/hosts, but I don't have bind or any other DNS set-up.I've installed Postfix and can sent email with the mail command to unix account, and I can also read them with the mail command( from the command line).Now, my problem is with not being able to use the local Unix email accounts in drupal. Particularly, I would like to have one of the unix account receive email for the development site.I might like to also have various user on the drupal installation, and then test sending notifications to them.here is my /etc/postfix/main.cf# See /usr/share/postfix/main.cf.dist for a commented, more complete version
View 2 Replies
View Related
Apr 16, 2010
I have a scenario.A domain [URL].. then there are 4 private computers on which applications are hosted at port 80. So when some one from outside access the site it look [URL]..I added
[Code]...
View 1 Replies
View Related
Feb 2, 2011
how to install Drupal in fedora?
View 1 Replies
View Related
Apr 30, 2010
I upgraded karmic to lynx today and I'm stuck with some weird behaviour with one of my virtual hosts. The virtual hosts under /var/www/site work but my virtual host for DAVICAL which points to /usr/share/davical/htdocs/ doesn't.
Navigation to any html pages works but php files just show up blank!
Has there been a configuration change in lynx for virtual hosts outside of /var/www?
View 6 Replies
View Related
Jun 8, 2011
I am trying to install drupal6.2 locally on my fedora 14 machine. After resolving quite a bit of dependeny issues I finally was able to get the database populated but I am just getting a blank page when typing [URL]. I am observing the following error in the error.log. I am surprised that a standard installable rpm of drupal is having these errors.
[Wed Jun 08 18:28:44 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function user_access() in /usr/share/drupal/includes/theme.inc on line 1779
[Wed Jun 08 18:37:04 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected '}' in /usr/share/drupal/includes/theme.inc on line 1789
[code]...
View 2 Replies
View Related
Feb 18, 2010
I am trying to get a start up script to work, I have a file /etc/init.d/blah (with 755 permissions) with the contents [URL]. I have run "update-rc.d -f blah defaults". But when I reboot the script is not executing.
View 1 Replies
View Related
Sep 29, 2010
I have a script which copies(scp) .war file to tomcat's webapps and the .war file extracts creating a folder under webapps directory on a ubuntu system. My next line of the script is restarting the tomcat which is executed immediately before the .war is extracted and this causing problem with
Is it possible so that it waits for few seconds/minutes before it executes the next line of the script. The script is of normal ubuntu commands.
View 2 Replies
View Related
Nov 16, 2010
I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder. When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe. Before I run it vai crontab I tried it via command line as the www-data user and I receive errors:
Fatal Error: Allowed memory size of 8388608 bytes expired (tried to allocate 232 bytes).
But when I run it as the root user I get no errors and everything works correctly. The file cron.php is used to process automated tasks in my CRM. So I don't really want to have the root user running a crontab every few minutes for this.
Must the www-data user be given more permissions? I am using Ubuntu 6.06LTS
PHP - 5.1.2
Apache - 2.0.55
MySQL - 5.0.22
View 4 Replies
View Related
May 9, 2011
I have written a simple backup script, and added it to CronTab, but it doesnt execute at all. Here is my script: [URL]...And my CronTab entry: 0 */2 * * * root /home/server/Scripts/backup.sh
View 6 Replies
View Related
Apr 18, 2011
i have many text files in my directory and when i click on them to open them os treat it as a runnable file any says display or run or run in terminal ... i want to pick up recursively the tick of "Allow executing file as program" for all files.
View 2 Replies
View Related
Mar 31, 2010
I want to fix my dns if I issue command service named restart it just wont execute the command all it say is connection refused error from rc.d just cannot figure out what the problem is my server is ruining on red hat Linux 9 which is also my proxy server.
View 6 Replies
View Related
Feb 6, 2010
Is it possible to execute a perl script which in a linux machine from a windows machine?I have to trigger its execution from my windows machine.
View 1 Replies
View Related
Nov 6, 2009
I wanted to use cron to play a media file at a certain time (i.e. use it as an alarm clock). However it seems to do nothing. The contents of my crontab is:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
5 11 * * * env DISPLAY=:0.0 /usr/bin/totem /path_to_file
View 2 Replies
View Related
Nov 13, 2009
I use a Dell inspiron 1525, with windows 7 and fedora 8 in dual boot. Ihave broadcom 4310 wireless card to use.. how ever i could not activate my wireless.. so i guess this the right place where i can get a solution to the problem. After installing the ndsiwrapper by yum, i tried to execute the command ndiswrapper -i bcmw15.inf This returns with an error couldn't open bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.
View 1 Replies
View Related
Aug 23, 2010
I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...
I have given permission like this:
Then i execute the file like this:
Its showing error like this:
View 9 Replies
View Related
Feb 27, 2011
I have installed debian-6.0.0-i386-DVD on my vmware. I want to install php 5.2 on it. But whatever mirror i'm using in my source.list i'm not getting my php 5.2.17 installed. Is there a debian mirror that i can use in my source.list to install php 5.2.15? I do not want to install 5.3, because it's not working for drupal 6 yet. I'm new to linux. i'm using apg -get update to receive the update.
View 1 Replies
View Related
Jul 14, 2011
how I can install Drupal on my Ubuntu 10.10?
View 2 Replies
View Related
Feb 14, 2010
I have recently taken over administration of a mailserver and a drupal server, hopefully I can get answers here. Queston one: how do you allow .docx? I really despise M$ methods to increase sales.
View 1 Replies
View Related
Apr 17, 2010
Looking at Drupal and ISPconfig as web tools but slackware is not one of the supported distro according to queries. I have never used any but slackware so I am wondering if any Slackers are using these tools anyway or what alternatives for slackware are there?
View 4 Replies
View Related
Feb 10, 2010
Then is that I needed to install (not webmin) Drupal on Centos and
needed to know how and then how do management.
View 2 Replies
View Related
Jun 8, 2010
Can anyone tell me all the steps of how to install drupal 6.0 and start using it ?
View 4 Replies
View Related
Jan 10, 2010
i need to completely remove drupal and reinstall it, i would also like to completely remove phpmyadmin and reinstall it.
View 2 Replies
View Related