Installation is telling me its finished...
Installation is telling me its finished...
i just uploaded all of the files and attempt to access the installation and it tells me that it is already finished. And it should not be finished because i have not even set anything up through the steps. here is a link to show what i am talking about....
http://www.uoradio.com/rwow/install/index.php?sessiontest=1&
http://www.uoradio.com/rwow/install/index.php?sessiontest=1&
Re: Installation is telling me its finished...
I am having the exact same problem with my install. I had cmsms installed at one point on this server, and I wanted to upgrade. When I went to do the upgrade I went to install/upgrades.php, and the page was blank and it said "install/index.php?sessiontest=1&" in the url. The source was blank too. So I deleted all the files hoping to get a fresh install, uploaded all the files for cmsms 1.1 and how when I go to root.com/install all I get is this: "install/index.php?sessiontest=1&". Any ideas would be very helpful. My url is [url=http://http:www.longviewchristian.com]http:www.longviewchristian.com[/url] if it helps. The cmsms is in the root...so http://www.longviewchristian.com/install is the install directory. Thanks, Ben
Re: Installation is telling me its finished...
Edit smarty.class.php:
the funktion _get_auto_filename to this:
/*Patch Anfang*/
/**
* get a concrete filename for automagically created content
*
* @param string $auto_base
* @param string $auto_source
* @param string $auto_id
* @return string
* @staticvar string|null
* @staticvar string|null
* Diese Funktion ist gepatcht um Smarty auf T-Online-Servern zu ermöglichen.
*/
function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null)
{
$_compile_dir_sep = $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '_';
$_return = $auto_base . DIRECTORY_SEPARATOR;
if(isset($auto_id)) {
// make auto_id safe for directory names
$auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id)));
// split into separate directories
$_return .= $auto_id . $_compile_dir_sep;
}
if(isset($auto_source)) {
// make source name safe for filename
$_filename = urlencode(basename($auto_source));
$_crc32 = sprintf('%08X', crc32($auto_source));
// prepend %% to avoid name conflicts with
// with $params['auto_id'] names
$_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep .
substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32;
$_return .= '__' . $_crc32 . '__' . $_filename;
}
$_return = str_replace('%','_',$_return);
return $_return;
}
/*Patch ende*/
the funktion _get_auto_filename to this:
/*Patch Anfang*/
/**
* get a concrete filename for automagically created content
*
* @param string $auto_base
* @param string $auto_source
* @param string $auto_id
* @return string
* @staticvar string|null
* @staticvar string|null
* Diese Funktion ist gepatcht um Smarty auf T-Online-Servern zu ermöglichen.
*/
function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null)
{
$_compile_dir_sep = $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '_';
$_return = $auto_base . DIRECTORY_SEPARATOR;
if(isset($auto_id)) {
// make auto_id safe for directory names
$auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id)));
// split into separate directories
$_return .= $auto_id . $_compile_dir_sep;
}
if(isset($auto_source)) {
// make source name safe for filename
$_filename = urlencode(basename($auto_source));
$_crc32 = sprintf('%08X', crc32($auto_source));
// prepend %% to avoid name conflicts with
// with $params['auto_id'] names
$_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep .
substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32;
$_return .= '__' . $_crc32 . '__' . $_filename;
}
$_return = str_replace('%','_',$_return);
return $_return;
}
/*Patch ende*/
Re: Installation is telling me its finished...
Thank you Simon, but unfortunately that did not change anything. I made the proper edit to the file, and inserted your patch in the proper place, but I am still getting, "install/index.php?sessiontest=1&" when I go to root/install.
Any other suggestions. Thanks, Ben
Any other suggestions. Thanks, Ben
Re: Installation is telling me its finished...
is smarty working? you can check that if there are files in tmp/templates_c
Last edited by SimonSchaufi on Wed Aug 01, 2007 2:45 pm, edited 1 time in total.
Re: Installation is telling me its finished...
Yes, there are files in tmp/template_c
Re: Installation is telling me its finished...
ok, it's not a smarty problem. in my case, smarty could not write to the folder because the server didn't allow characters like ^ and %
my next step would be to insert some echos to test, how far the install is going because it seams like there is an exit somewhere that where the install.php stops.
echo "Here it works";
in my case i still saw the footer (generated in ... seconds...) but your page is complete empty
my next step would be to insert some echos to test, how far the install is going because it seams like there is an exit somewhere that where the install.php stops.
echo "Here it works";
in my case i still saw the footer (generated in ... seconds...) but your page is complete empty
Last edited by SimonSchaufi on Wed Aug 01, 2007 5:42 pm, edited 1 time in total.
Re: Installation is telling me its finished...
There did not seem to be a problem in install/index.php. It seemed to be running. So I figured it was in install/lib/classes/CMSinstaller.class.php or in smarty.class.php. I tried a few things in those classes, but I could not narrow down where the problem was. I think I will save some of my time, and just switch hosting servers. Hopefully, I won't have this problem on a different hosting server. Thanks for the help.
Problem not solved...must be the server.
Problem not solved...must be the server.
Re: Installation is telling me its finished...
I think I will give that a shot. I tried 1.08 and had the same problem, but maybe I need to go further back. It is a strange situation that I think I would rather just take the easier road out of and switch servers.
Thanks!
Thanks!
Re: Installation is telling me its finished...
Hi Ben!bemky wrote: I am having the exact same problem with my install. I had cmsms installed at one point on this server, and I wanted to upgrade. When I went to do the upgrade I went to install/upgrades.php, and the page was blank and it said "install/index.php?sessiontest=1&" in the url. The source was blank too. So I deleted all the files hoping to get a fresh install, uploaded all the files for cmsms 1.1 and how when I go to root.com/install all I get is this: "install/index.php?sessiontest=1&". Any ideas would be very helpful. My url is [url=http://http:www.longviewchristian.com]http:www.longviewchristian.com[/url] if it helps. The cmsms is in the root...so http://www.longviewchristian.com/install is the install directory. Thanks, Ben
I have exactly the same probllem as you after upgrading php from 4.xx to 5.2.3 and changed OS. Have you changed anything on your server?
Regards
Nicke
Re: Installation is telling me its finished...
Hello,
everybody with this "installation already finished" problem, please tell more about your hosting environnement :
1)Operating system : Windows ? OSX ? Linux ? Other ?
2)Does another session enabled PHP-SQL software run well at the same place ? Is the PHP sessions requirement met ?
3)Installation method : SSH ? FTP ? If FTP, have you tried with FileZilla ?
4)Browser used : a supported one ? Have your tried with Firefox ?
Then anything else that might help diagnose your problem (URLs, clics, messages...).
Pierre M.
everybody with this "installation already finished" problem, please tell more about your hosting environnement :
1)Operating system : Windows ? OSX ? Linux ? Other ?
2)Does another session enabled PHP-SQL software run well at the same place ? Is the PHP sessions requirement met ?
3)Installation method : SSH ? FTP ? If FTP, have you tried with FileZilla ?
4)Browser used : a supported one ? Have your tried with Firefox ?
Then anything else that might help diagnose your problem (URLs, clics, messages...).
Pierre M.
Re: Installation is telling me its finished...
Hi Pierre!Pierre M. wrote: Hello,
everybody with this "installation already finished" problem, please tell more about your hosting environnement :
1)Operating system : Windows ? OSX ? Linux ? Other ?
2)Does another session enabled PHP-SQL software run well at the same place ? Is the PHP sessions requirement met ?
3)Installation method : SSH ? FTP ? If FTP, have you tried with FileZilla ?
4)Browser used : a supported one ? Have your tried with Firefox ?
Then anything else that might help diagnose your problem (URLs, clics, messages...).
Pierre M.
1: Windows 2k3 Server R2
2: Yeps im also hosting a phpbb forum and a stats site that use php, php session requirement I also fulfill
3: FTP havent tried FileZilla though
4: I have tried IE and Firefox same result with both
//Nicke
Re: Installation is telling me its finished...
Thank you Nicke for reporting so good.
@all : Oups, I've forgotten :
0)Which webserver ? IIS ? Apache ? Lighttpd ? other ?
Pierre M.
@all : Oups, I've forgotten :
0)Which webserver ? IIS ? Apache ? Lighttpd ? other ?
Pierre M.
Re: Installation is telling me its finished...
IIS...
Today I have downgraded to mysql4 and php 4 just for checking.....but it still doesnt work...
Today I have downgraded to mysql4 and php 4 just for checking.....but it still doesnt work...
Last edited by Biggie_Boy on Mon Aug 06, 2007 11:08 am, edited 1 time in total.
Re: Installation is telling me its finished...
YYEEEEEEEEEEEEEEEES!!!!
Its working, probably some security issue. I have changed OS from W2k3 to the new R2 version and it seems that i cant have the cms files on the c drive I moved it to another drive and it worked perfect right away.
Its working, probably some security issue. I have changed OS from W2k3 to the new R2 version and it seems that i cant have the cms files on the c drive I moved it to another drive and it worked perfect right away.
Last edited by Biggie_Boy on Mon Aug 06, 2007 3:58 pm, edited 1 time in total.