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

old urls doesn't work

Here am I again...

In my drupal site I did not use clean URLs because its a virtual server and I was not sure about its apache support for they. Now, I find that this url (by example) doesn't work more:

http://www.librexpresion.org/node.php?id=1008&cid=4347#4347

In my production site with 4.1 works fine, but in my development site with 4.3 it simply carries me to the front page. I'm a bit worried with this mainly because I've put a lot of links to my own site from another ones along last months and this means that they will not work more. Now, show me the "magic.php" script that repairs this and I've not been able to find. ;-)

Windows installation: Drupal folder location & dos-command

In the section Installing Drupal on Windows of the documentation, there's the following instruction:

Type the following dos-command: mysql -u username -ppassword drupal < c:...drupal\database\database.mysql (replace the appropriate parts, username, password, c:..., with the correct values. c:... must be the location of your Drupal folder).

Basically I find two problems with this. 1) Since I´m a newbie it´s not easy to spot possible mistakes in the instructions and, as a rule, I put into practice what I´m told LITERALLY. However I don´t manage to get this command work. I get the message "The system cannot find the specified file". I´ve tried different locations for the Drupal folder (as I haven´t clearly understand either "After downloading the Drupal package, start by extracting the archive to the PHP working folder (The folder that you specified for your documents in the php.ini file)") and I´m showing them in CAPITALS in the path. Well, so i´ve tried:

mysql -u username - password drupal < c:archivos de sistema\easyphp1-7\APACHE\drupal-4.3.0\database\database.mysql

mysql -u username - password drupal < c:archivos de sistema\easyphp1-7\WWW\drupal-4.3.0\database\database.mysql

mysql -u username - password drupal < c:archivos de sistema\easyphp1-7\PHP\drupal-4.3.0\database\database.mysql

mysql -u username - password drupal < c:archivos de sistema\easyphp1-7\drupal-4.3.0\database\database.mysql

Cookie Problems with PHP on IIS [fixed]

Hi, a few posts below is another item posted by me, about the remember_me function.
I solved it, and maybe there are others with the same problem.

Because my website is hosted on a shared IIS server and have no control over the php.ini and the htaccess doesn't work on IIS. I have created this workaround.

[Note: edited for conf.php instead of common.inc]

Add the following to the top of includes/conf.php file

 ini_set("session.auto_start", "0");
 ini_set("session.cache_expire", "200000");
 ini_set("session.cache_limiter", "none");
 ini_set("session.cookie_lifetime", "2000000");
 ini_set("session.gc_maxlifetime", "200000");
 ini_set("session.save_handler", "user");
 ini_set("arg_separator.output", "&");
 ini_set("allow_call_time_pass_reference", "On");
 ini_set("magic_quotes_gpc", "0");
 ini_set("magic_quotes_runtime", "0");
 ini_set("magic_quotes_sybase", "0");
 ini_set("register_globals", "0"); 
 ini_set("short_open_tag", "1");
 ini_set("track_vars", "1");

Best regards Gert Jan :),

function l has changed its behavior?

I've the following line in a theme:

print l(check_output($comment->subject), array("id" => $comment->nid, "cid" => $comment->cid), "node", $comment->cid) ." ". t("by") . " " . format_name($comment) ."</small><p />";

With old 4.1 it works perfectly giving the following HTML code for a comment:

<a href="node.php?id=1013&cid=4414#4414" >otro analisis</a> por <a href="module.php?mod=user&op=view&id=273" title="Ver perfil de usuario.">alejo</a></small><p />

But now with 4.3 it doesn't work and gives the following output instead (the comment is different but this does not do the matter):

<a href="http://localhost/drupal/?q=Array&4347">Vamos a crear un thread</a> por <a href="http://localhost/drupal/?q=user/view/3" title="Ver perfil de usuario.">kwell</a></small><p />

What's the point?

TIA

newbie question

Hi,

I'm a newbie with drupal. I've installed the entire site without problems. But now, my index page have only this message:

Access denied
You are not authorized to access this page.

So, I'd like to post comments or news wich the anonymous users can see. But I don't know how to do it.
I know this is a idiot questions, but even when I read the entire tutorial, I can't do it :(
So, could you help me ??

Thanks !

comment threading doesn't work after migration

I've lost my threads on comments since I've migrated from 4.1 to 4.3. I've seen that comments table have a new "thread" column that obviously have something to see with this. Probably I need to fill those thread column with information about the thread for each comment... but how?

TIA.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal