[TYPO3-linux] FW: move version 3.6.2 to a new debian server [Is working now]
Shaekir Ramses
shakerramses at hotmail.com
Mon Sep 13 18:58:05 CEST 2010
Dear All,
I got the answer:
The main problem,
Typo3.6.2 has $HTTP_POST_FILES, $HTTP_Get_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS
and those are not working with php5 .
Then I changed them to be $_FILES, $_Get, $_POST, $_POST, $_SERVER by using grep command
cd /my path/typo3/typo3_src-3.6.2
grep -rl '$HTTP_POST_FILES' ./ | xargs sed -i 's/\$HTTP_POST_FILES/$_FILES/g'
grep -rl '$HTTP_GET_VARS' ./ | xargs sed -i 's/\$HTTP_Get_VARS/$_Get/g'
grep -rl '$HTTP_POST_VARS' ./ | xargs sed -i 's/\$HTTP_POST_VARS/$_POST/g'
grep -rl '$HTTP_SERVER_VARS' ./ | xargs sed -i 's/\$HTTP_SERVER_VARS/$_SERVER/g'
and typo3.6.2 is working fine now with php5.
If there are any restrictions or advices , please don't hesitate to email me.
Best wishes,
Shaekir Khzym,
> From: shakerramses at hotmail.com
> To: typo3-linux at lists.typo3.org
> Date: Thu, 9 Sep 2010 14:07:48 -0500
> Subject: Re: [TYPO3-linux] move version 3.6.2 to a new debian server
>
>
> When I removed my test folder and added the project folder and I did this changing , The problem back again.
>
> but When I changed the define PATH_thisScript to be
> define ('PATH_thisScript', '/usr/pub/www/www.mydomainname.com/typo3/install/index.php');
>
> Now I can see the Typo3.6.2 Install Tool ,
>
> When I add my password, The Typo3.6.2 Install Tool, return the password page again.
>
> my password is right.
>
> any help,
>
> Best wishes,
> Shaekir,
> From: shakerramses at hotmail.com
> To: typo3-linux at lists.typo3.org
> Subject: RE: [TYPO3-linux] move version 3.6.2 to a new debian server
> Date: Thu, 9 Sep 2010 11:27:47 -0500
>
>
>
>
>
>
>
>
> Thank you Erdal for your email that is helped me too much,
>
> The problem was in Path.
>
> The program return empty value for PATH_thisScript in typo3/init.php
>
> after I added /usr/pub/www/typo3_src-3.6.2 to the include_path in typo3/init.php
> ini_set('include_path','/usr/pub/www/typo3_src-3.6.2');
>
> This is the next message that I face:
>
> typo3/install Tool is not loaded as an extension
> You must add the key 'install' to the list of installed extensions in localconf.php, TYPO3_CONF_VARS[EXT][extList].
>
> in fact, I can see 'install' in the TYPO#_CONF_VARS[EXT][extList]
>
> I don't know what is this message mean.
>
> any help,
>
> Best wishes,
> Shaekir,
>
>
>
> > From: comm at webcan.de
> > Date: Wed, 8 Sep 2010 20:36:11 +0200
> > To: typo3-linux at lists.typo3.org
> > Subject: Re: [TYPO3-linux] move version 3.6.2 to a new debian server
> >
> > Hi Shaekir,
> >
> > Shaekir Ramses schrieb:
> > > I am trying to move the web from old server to the new server ,
> > > This web was built by typo3 3.6.2 .
> > > When I shift the web to the new server, and when I written the domain name to get typo3
> > > www.mydomainname/typo3/instal
> > > and I got this message,
> > > Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
> >
> > TYPO3 version 3.6.2 is very outdated. I started with 3.8.1 which is also
> > very old.
> > If you can't rise to a newer version you should find an old installation
> > tutorial for this version. Don't know if it supports php v5.
> > For me, it seems like symlinks are not set up correctly.
> >
> > Best regards
> > Erdal
> >
> >
> > _______________________________________________
> > TYPO3-linux mailing list
> > TYPO3-linux at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-linux
>
> _______________________________________________
> TYPO3-linux mailing list
> TYPO3-linux at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-linux
More information about the TYPO3-linux
mailing list