spip upgrade

Hi team

I have upgraded my spip system from 1.8.2d to 1.9.

After upgrading, I get the following error

Fatal error: Call to undefined function http_status() in C:\wamp\www\spip\inc-urls-propres.php3 on line 201

when I call
Any suggestions?

Regards
Iswaria.

Hi,

when you are doing an upgrade to 1.9 you MUST delete all old standard
.php3 files. The compatibility was assumed in spip 1.9.0, but it's
note the case with 1.9.2.

To keep your old urls working, you just have to rename htaccess.txt to
.htaccess : rewrite rules are doing the correspondance between
rubrique.php3?id_rubrique=NN and spip.php?page=rubrique&id_rubrique=NN

the coresponding lines are :
RewriteRule ^(rubrique|article|breve|mot|auteur|site|agenda|backend|backend-breves|distrib|forum|ical|plan|recherche|resume|sommaire|sommaire_texte)\.php3?$
   spip.php?page=$1 [QSA,L]
RewriteRule ^page.php[3]? spip.php [QSA,L]
RewriteRule ^spip_cal\.php3?$ spip.php?action=ical [QSA,L]
RewriteRule ^spip_rss\.php3?$ spip.php?action=rss [QSA,L]

Of course if you have your own .php3 files to must add some rules in
.htaccess to give access to the corresponding template (ex. toto.php3
=> add "toto|" after "^(rubrique|" )

The complete migration process is detailled here :
http://www.spip.net/en_article3472.html
(don't worry, it's really easy)

Enjoy !

.Gilles
---

2007/7/11, Iswaria <iswaria.k@ifpindia.org>:

Hi team

I have upgraded my spip system from 1.8.2d to 1.9.

After upgrading, I get the following error

Fatal error: Call to undefined function http_status() in
C:\wamp\www\spip\inc-urls-propres.php3 on line 201

when I call
http://localhost/spip/rubrique.php3?id_rubrique=29

Any suggestions?

Regards
Iswaria.
_______________________________________________
spip-en@rezo.net -
http://listes.rezo.net/mailman/listinfo/spip-en

Hi

I have followed the below steps while upgrading my spip from 1.8.2d to 1.9:

  1. Overwrite the files in my directory with spip 1.9 files
  2. Rename the htaccess.txt to .htaccess
  3. Rename the file mes_fonctions.php3 to mes_fonctions.php
  4. Deleted all .php3 files

Now see my site, it looks like
spip19.jpg

My site with version spip 1.8.2d looks like

spip182d.jpg

So please tell me what corrections I have to do.

Thanks
Iswaria.

Gilles Vincent wrote:

It seems that in your old configuration your templates where in a
specific folder (or at the root of your installation).
In 1.9.x by default you have to place your templates inside /squelettes/
The difference here is only that Spip doesn't find your customized
templates (so it takes those inside /dist/).

.Gilles

---
2007/7/16, Iswaria <iswaria.k@ifpindia.org>:

Hi

I have followed the below steps while upgrading my spip from 1.8.2d to 1.9:

1. Overwrite the files in my directory with spip 1.9 files
2. Rename the htaccess.txt to .htaccess
3. Rename the file mes_fonctions.php3 to mes_fonctions.php
4. Deleted all .php3 files

Now see my site, it looks like

My site with version spip 1.8.2d looks like

So please tell me what corrections I have to do.

Thanks
Iswaria.

Gilles Vincent wrote:
Hi,

when you are doing an upgrade to 1.9 you MUST delete all old standard
.php3 files. The compatibility was assumed in spip 1.9.0, but it's
note the case with 1.9.2.

To keep your old urls working, you just have to rename htaccess.txt to
.htaccess : rewrite rules are doing the correspondance between
rubrique.php3?id_rubrique=NN and spip.php?page=rubrique&id_rubrique=NN

the coresponding lines are :
RewriteRule ^(rubrique|article|breve|mot|auteur|site|agenda|backend|backend-breves|distrib|forum|ical|plan|recherche|resume|sommaire|sommaire_texte)\.php3?$
   spip.php?page=$1 [QSA,L]
RewriteRule ^page.php[3]? spip.php [QSA,L]
RewriteRule ^spip_cal\.php3?$ spip.php?action=ical [QSA,L]
RewriteRule ^spip_rss\.php3?$ spip.php?action=rss [QSA,L]

Of course if you have your own .php3 files to must add some rules in
.htaccess to give access to the corresponding template (ex. toto.php3
=> add "toto|" after "^(rubrique|" )

The complete migration process is detailled here :
http://www.spip.net/en_article3472.html
(don't worry, it's really easy)

Enjoy !

.Gilles
---

2007/7/11, Iswaria <iswaria.k@ifpindia.org>:

  Hi team

  I have upgraded my spip system from 1.8.2d to 1.9.

  After upgrading, I get the following error

  Fatal error: Call to undefined function http_status() in
C:\wamp\www\spip\inc-urls-propres.php3 on line 201

  when I call
http://localhost/spip/rubrique.php3?id_rubrique=29

  Any suggestions?

  Regards
  Iswaria.
_______________________________________________
spip-en@rezo.net -
http://listes.rezo.net/mailman/listinfo/spip-en

Hi again,

your old templates' folder is /ifp2005blue/
You can rename it as /squelettes/
or specify into mes_fonctions (or mes_options)

$GLOBALS['dossier_squelettes'] = "ifp2005blue";

:slight_smile:

(tip : you can indicate several folders like this :
$GLOBALS['dossier_squelettes'] = "folderA:folderB:folderC"; )

.Gilles
---
2007/7/16, Gilles Vincent <gilles.vincent@gmail.com>:

It seems that in your old configuration your templates where in a
specific folder (or at the root of your installation).
In 1.9.x by default you have to place your templates inside /squelettes/
The difference here is only that Spip doesn't find your customized
templates (so it takes those inside /dist/).

.Gilles

---
2007/7/16, Iswaria <iswaria.k@ifpindia.org>:
>
> Hi
>
> I have followed the below steps while upgrading my spip from 1.8.2d to 1.9:
>
> 1. Overwrite the files in my directory with spip 1.9 files
> 2. Rename the htaccess.txt to .htaccess
> 3. Rename the file mes_fonctions.php3 to mes_fonctions.php
> 4. Deleted all .php3 files
>
> Now see my site, it looks like
>
> My site with version spip 1.8.2d looks like
>
> So please tell me what corrections I have to do.
>
> Thanks
> Iswaria.
>
> Gilles Vincent wrote:
> Hi,
>
> when you are doing an upgrade to 1.9 you MUST delete all old standard
> .php3 files. The compatibility was assumed in spip 1.9.0, but it's
> note the case with 1.9.2.
>
> To keep your old urls working, you just have to rename htaccess.txt to
> .htaccess : rewrite rules are doing the correspondance between
> rubrique.php3?id_rubrique=NN and spip.php?page=rubrique&id_rubrique=NN
>
> the coresponding lines are :
> RewriteRule ^(rubrique|article|breve|mot|auteur|site|agenda|backend|backend-breves|distrib|forum|ical|plan|recherche|resume|sommaire|sommaire_texte)\.php3?$
> spip.php?page=$1 [QSA,L]
> RewriteRule ^page.php[3]? spip.php [QSA,L]
> RewriteRule ^spip_cal\.php3?$ spip.php?action=ical [QSA,L]
> RewriteRule ^spip_rss\.php3?$ spip.php?action=rss [QSA,L]
>
> Of course if you have your own .php3 files to must add some rules in
> .htaccess to give access to the corresponding template (ex. toto.php3
> => add "toto|" after "^(rubrique|" )
>
> The complete migration process is detailled here :
> http://www.spip.net/en_article3472.html
> (don't worry, it's really easy)
>
> Enjoy !
>
> .Gilles
> ---
>
> 2007/7/11, Iswaria <iswaria.k@ifpindia.org>:
>
> Hi team
>
> I have upgraded my spip system from 1.8.2d to 1.9.
>
> After upgrading, I get the following error
>
> Fatal error: Call to undefined function http_status() in
> C:\wamp\www\spip\inc-urls-propres.php3 on line 201
>
> when I call
> http://localhost/spip/rubrique.php3?id_rubrique=29
>
> Any suggestions?
>
> Regards
> Iswaria.
> _______________________________________________
> spip-en@rezo.net -
> http://listes.rezo.net/mailman/listinfo/spip-en
>

Perhaps you forgot to store your templates in the "squelettes" folder and SPIP is using the default templates (in the "dist" folder).

Iswaria wrote:

Hi

I have followed the below steps while upgrading my spip from 1.8.2d to 1.9:

1. Overwrite the files in my directory with spip 1.9 files
2. Rename the htaccess.txt to .htaccess
3. Rename the file mes_fonctions.php3 to mes_fonctions.php
4. Deleted all .php3 files

Now see my site, it looks like

My site with version spip 1.8.2d looks like

So please tell me what corrections I have to do.

Thanks
Iswaria.

Gilles Vincent wrote:

Hi,

when you are doing an upgrade to 1.9 you MUST delete all old standard
.php3 files. The compatibility was assumed in spip 1.9.0, but it's
note the case with 1.9.2.

To keep your old urls working, you just have to rename htaccess.txt to
.htaccess : rewrite rules are doing the correspondance between
rubrique.php3?id_rubrique=NN and spip.php?page=rubrique&id_rubrique=NN

the coresponding lines are :
RewriteRule ^(rubrique|article|breve|mot|auteur|site|agenda|backend|backend-breves|distrib|forum|ical|plan|recherche|resume|sommaire|sommaire_texte)\.php3?$

  spip.php?page=$1 [QSA,L]
RewriteRule ^page.php[3]? spip.php [QSA,L]
RewriteRule ^spip_cal\.php3?$ spip.php?action=ical [QSA,L]
RewriteRule ^spip_rss\.php3?$ spip.php?action=rss [QSA,L]

Of course if you have your own .php3 files to must add some rules in
.htaccess to give access to the corresponding template (ex. toto.php3
=> add "toto|" after "^(rubrique|" )

The complete migration process is detailled here :
http://www.spip.net/en_article3472.html
(don't worry, it's really easy)

Enjoy !

.Gilles
---

2007/7/11, Iswaria <iswaria.k@ifpindia.org>:

Hi team

I have upgraded my spip system from 1.8.2d to 1.9.

After upgrading, I get the following error

Fatal error: Call to undefined function http_status() in
C:\wamp\www\spip\inc-urls-propres.php3 on line 201

when I call
http://localhost/spip/rubrique.php3?id_rubrique=29

Any suggestions?

Regards
Iswaria.
_______________________________________________
spip-en@rezo.net -
http://listes.rezo.net/mailman/listinfo/spip-en

------------------------------------------------------------------------

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
  

2007/7/17, Iswaria <iswaria.k@ifpindia.org>:

If I view the source code of the blank page, I can see the following

<!-- Erreur INCLURE(rubrique.php3) -->

Hi,

simply replace <INCLURE(my_file.php3){..}>
by <INCLURE(page=my_file){..}>

This should work,

.Gilles
----

Regards
Iswaria

Iswaria wrote:
Hi

Thanks a lot for your help.

Everything works fine except the search.

I have removed the formulaire directory in the root and placed all the
files directly in the squelettes directory.

When I perform the search, I end up with a blank page. (The url I get
:http://localhost/spip/spip.php?recherche=research&lang=en&validation_recherche=valid)

What could be the reason?

Thanks again
Iswaria.

Gilles Vincent wrote:
Hi again,

your old templates' folder is /ifp2005blue/
You can rename it as /squelettes/
or specify into mes_fonctions (or mes_options)

$GLOBALS['dossier_squelettes'] = "ifp2005blue";

:slight_smile:

(tip : you can indicate several folders like this :
$GLOBALS['dossier_squelettes'] = "folderA:folderB:folderC"; )

.Gilles
---
2007/7/16, Gilles Vincent <gilles.vincent@gmail.com>:

It seems that in your old configuration your templates where in a
specific folder (or at the root of your installation).
In 1.9.x by default you have to place your templates inside /squelettes/
The difference here is only that Spip doesn't find your customized
templates (so it takes those inside /dist/).

.Gilles

---
2007/7/16, Iswaria <iswaria.k@ifpindia.org>:
>
> Hi
>
> I have followed the below steps while upgrading my spip from 1.8.2d to
1.9:
>
> 1. Overwrite the files in my directory with spip 1.9 files
> 2. Rename the htaccess.txt to .htaccess
> 3. Rename the file mes_fonctions.php3 to mes_fonctions.php
> 4. Deleted all .php3 files
>
> Now see my site, it looks like
>
> My site with version spip 1.8.2d looks like
>
> So please tell me what corrections I have to do.
>
> Thanks
> Iswaria.
>
> Gilles Vincent wrote:
> Hi,
>
> when you are doing an upgrade to 1.9 you MUST delete all old standard
> .php3 files. The compatibility was assumed in spip 1.9.0, but it's
> note the case with 1.9.2.
>
> To keep your old urls working, you just have to rename htaccess.txt to
> .htaccess : rewrite rules are doing the correspondance between
> rubrique.php3?id_rubrique=NN and spip.php?page=rubrique&id_rubrique=NN
>
> the coresponding lines are :
> RewriteRule
^(rubrique|article|breve|mot|auteur|site|agenda|backend|backend-breves|distrib|forum|ical|plan|recherche|resume|sommaire|sommaire_texte)\.php3?$
> spip.php?page=$1 [QSA,L]
> RewriteRule ^page.php[3]? spip.php [QSA,L]
> RewriteRule ^spip_cal\.php3?$ spip.php?action=ical [QSA,L]
> RewriteRule ^spip_rss\.php3?$ spip.php?action=rss [QSA,L]
>
> Of course if you have your own .php3 files to must add some rules in
> .htaccess to give access to the corresponding template (ex. toto.php3
> => add "toto|" after "^(rubrique|" )
>
> The complete migration process is detailled here :
> http://www.spip.net/en_article3472.html
> (don't worry, it's really easy)
>
> Enjoy !
>
> .Gilles
> ---
>
> 2007/7/11, Iswaria <iswaria.k@ifpindia.org>:
>
> Hi team
>
> I have upgraded my spip system from 1.8.2d to 1.9.
>
> After upgrading, I get the following error
>
> Fatal error: Call to undefined function http_status() in
> C:\wamp\www\spip\inc-urls-propres.php3 on line 201
>
> when I call
> http://localhost/spip/rubrique.php3?id_rubrique=29
>
> Any suggestions?
>
> Regards
> Iswaria.
> _______________________________________________
> spip-en@rezo.net -
> http://listes.rezo.net/mailman/listinfo/spip-en
>