Having problems installing Drupal? See the Installation Guide for more information.

Can not log in D7 due to cookie issue

It seems that my browser didn't set cookies even the reponse header has Set Cookie value. I tried to use setcookie() to set the value manually and it logs me in. So the session is created successfully on the server. It's the problem on my side, but not that my browser cannot create cookie. But something prevented the creation during the log in process of drupal 7.

Here is the header from Drupal 7
Set-Cookie SESS26bc541d314e909277ae077251e81e7a=Ls1YzDrjBy-KLbYT_b9VfpcVrRRyjKnS_5J6MPgkjjU; expires=Sat, 30-Mar-2013 20:59:08 GMT; path=/tmp; domain=.testd720.com; httponly

The URL is clean. I can enter "/user", "user/register", "user/password" without problem.

Here are my nginx settings and drush commands that I used

Nginx setting

    server
    {
      listen       80;
      server_name  www.testd720.com;
      index        index.php index.html index.htm;
      root         /opt/www/drushtest/web1;
      error_page 404 = @drupal;

      location @drupal {
         rewrite ^(.*)$ /index.php?q=$1 last;
      }

      location ~ .*\.(php|php5)?$
      {
        #fastcgi_pass unix:/tmp/php-cgi.sock;
        fastcgi_pass  127.0.0.1:9000;
        fastcgi_index index.php;
        include       fastcgi.conf;
      }
      access_log logs/testd720.log main;
    }

drush command to install drupal and change password

disable the php register globals?

so i got to the point where i can install drupal but it says to disable php register globals and i looked it up and some people said use a php.ini file but i dont think its working cause it makes no difference ... im useing domain.com idk if anyone has experience with them

changed file system temporary directory but the new path is not reflected on drupal

My temporary directory used to be set to /tmp but I have changed it to be a public folder set to files/drupal_temp When I click on "save configuration" i got a message indicating that this folder was created successfully with the right permission. But when I try to upload a file using CKfinder. . I notice it is still trying to upload temp files to /tmp

I cleared the cache in drupal with no Luck !

Update: This is the error message I get

Images wont apears.

Very mysterious displayed my photo not in new articles anymore.
I use CKE and IMCE and can upload image files and paste them into CKE.
In edit mode displays image files. But not in view mode.
Probably I have come to change a global setup when I would make a new content type.
But I simply can not get back to what I've done wrong.
"Old" pages / nodes with images displayed pictures still on.
It is only the new content images no longer appear in the view mode
Someone who has experienced it before and can help?
Willy

Moving from Aquia Dev Desktop To MAMP - Install Issue

Forgive my newness.

I've followed along and built a drupal intranet by watching some Lynda.com videos. the site works great on Aquia Drupal dev desktop.

I need to move the site I've created to another mac and I've chosen MAMP as the stack to serve from. I did this because the built in AMP material on OSX 10.6 is being use already to serve basic html over port 80. Also, I can't upgrade things on that mac as easily as a dev environment. I've chosen Mamp because I can serve out of say port 8888 alongside the other site. Aquia unfortunately sets me up on a sub port of localhost which won't work on this other machine as I can't reach 192.168.1.1/localhost:8080 or something like that.

I've used mamp before and like it.

My issue is in carrying over the materials.

I've installed a clean drupal v7 on the stack and it works well. Then, I copy over modules and themes from aquia and export my DB using the Backup/Migrate module in the auqia stack. then, go and import that with the same module on the mamp stack.

I see the theme fairly correctly and I've checked the settings.php drupal file and changed the DB settings and urls to match my environment.

Multi-site woes with CPanel and VPS

Hello All,

I've read extensively on multi-site installations of Drupal 7 using a shared code base hoping to replicate the results, but to no avail. I've tried everything in the instructions on pages:

http://drupal.org/documentation/install/multi-site
http://drupal.org/node/138889
http://drupal.org/node/960934
http://drupal.org/node/348619

Still not working...

Background: I'm using Cpanel on a VPS hosting account. I've tried adding the "site2.com" directory in the /sites folder like everyone suggests but always get the "Oops, Google chrome could not find the... blah blah." In Cpanel, I've tried using the add "Addon Domain", add "Parked Domain", and add "Subdomain" functions. None of these produce the desired results.

My question is: is it possible to host multiple sites (ie www.site1.com, www.site2.com, www.site3.com, etc) on a single Drupal 7 installation using a shared code base WITHOUT using subdomains? The literature available seems to say that it is (and that it's as easy as 1-2-3 to set up), but I can't seem to make it happen.

The only progress that I was able to make is that I can configure my sites to work as subdomains of one another (ie www.site1.com as the initial installation and then www.site2.site1.com as a subdomain), but this is not ideal since the two sites are completely different and not meant to be subdomains of one another.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal