Page 1 of 2

Install process stops... or blank page

Posted: Fri Aug 15, 2008 2:48 pm
by alby
If you have problem with install process on 1.4+ try this:

- read the requirement of CMSMS
- set permission 777 to tmp and tmp/cache directory
- call (from browser) install/index.php?debug=1
- look you server logs (primary your web error log)

if you have a error report, try to resolve that problem!


if you don't have any error report and you have error for "Checking if the httpd process can create a file inside of a directory it created ...", call install/index.php?allowsafemode=1 for bypass this test (BUT pay attention because you may have difficulty with some addon functionality)

Alby

Re: Install process stops... or blank page

Posted: Wed Sep 17, 2008 2:28 pm
by cb2004
I think this is actually due to a bug with CMS Made Simple.

Whilst installing on a Windows server today I noticed that the files being created in templates_c did not have the same filename or extension that CMSMS was looking for. I was running the debug=1 funtion of the install script and received lots of fetch errors. So this made me look in the folder. If I did not run the debug=1 I would just get blank pages.

There were lots of files all with the file extension .tmp and all had the relevant smarty info in that was needed. They just did not have the bizarre filenames and .inc or .php file extensions that CMSMS needs.

I think the developers need to be aware of this post as I have seen lots of people on the forums with the same problem as me. Maybe we can all get this working on Windows without any hiccups.

Re: Install process stops... or blank page

Posted: Wed Sep 17, 2008 2:48 pm
by alby
cb2004 wrote: I think this is actually due to a bug with CMS Made Simple.
I don't have a IIS server for check this but I not agree.
I think to problem of naming due internal processes between server and php (that involve the operating system) for find unique names to file.
Smarty knows the real filename because it is the return of a particular php function.

Alby

Re: Install process stops... or blank page

Posted: Sat Oct 04, 2008 10:43 pm
by calguy1000
Also, be aware, that using that methodology to bypass the safe-mode checks, may allow the package to install, but then we cannot support your installation.  File uploading capabilities are required through numerous parts of CMS Made Simple, and in many addon modules.

If you use this method to bypass the checks, then we cannot support your installation.

Re: Install process stops... or blank page

Posted: Mon Oct 27, 2008 5:31 pm
by RappScallion
So why are all these damn upgrades been done to the new version??

I have 2 cmsms's installed and wanted a third one, waited for hours til it got uploaded and then it just says

Code: Select all

Outgoing http connections do not appear to work. This will result in module manager, and potentially other functionality failing.
Never had much problems with the other two, but now i won't be able to use any newer versions anymore. Just because i'm not that big of a whizzkid so i dont think i can solve this problem. Its a shame though cause it was one of the most easy to install free cms systems around and I really liked it.

Re: Install process stops... or blank page

Posted: Mon Oct 27, 2008 6:17 pm
by alby
RappScallion wrote: I have 2 cmsms's installed and wanted a third one, waited for hours til it got uploaded and then it just says

Code: Select all

Outgoing http connections do not appear to work. This will result in module manager, and potentially other functionality failing.
This check of "Remote connection" is relative to Recommended and nor Required setting
This not stop installer ....

Alby

Re: Install process stops... or blank page

Posted: Mon Oct 27, 2008 6:21 pm
by RappScallion
Ah! Sorry, missed that. I thought it would not be possible to continue.

So what am I missing now that the outgoing http connections don't work, and why did the older versions not need this conection?

Re: Install process stops... or blank page

Posted: Mon Oct 27, 2008 6:28 pm
by alby
RappScallion wrote: So what am I missing now that the outgoing http connections don't work, and why did the older versions not need this conection?
Older versions need of remote connection (I think Module Manager for example or from 1.3 check for CMSMS upgrade ...) but was missing this check  :)
With later versions there are more checks (and 1.5 are more) for avoid post problems and better support (you think for example to System Information and System Verification)

Alby

Re: Install process stops... or blank page

Posted: Wed Dec 24, 2008 7:23 am
by hexdj
Alby I get the following error:

Code: Select all

Fatal error: Only variables can be passed by reference in index.php line 123
and if I simply try to upgrade:

Code: Select all

Fatal error: Only variables can be passed by reference in upgrade.php line 124
The line in both files is:

Code: Select all

$smarty->assign_by_ref('languages', $installer->dropdown_lang());
I am trying to upgrade from 1.4.1 to 1.5.1, I checked the requirements and they are met. PHP 5.0.5 MySql 3.23 Also I set all permissions for tmp and cache to 777 and I still get the error.

Please help!

Re: Install process stops... or blank page

Posted: Tue Jan 20, 2009 10:53 pm
by hexdj
I am still unable to upgrade one of my websites to 1.5+

I tried all of Alby's recommendations and I still get a blank screen, even when I try to do a fresh install on a separate folder of the same server (can't even get to step one, just a blank screen)

With debug on I get

Code: Select all

Fatal error: Only variables can be passed by reference in /webdocs/cmsms_152/install/index.php on line 123
With the safe mode option I get the exact same thing

Is there anything else to be done or am I stuck with 1.4.1?

Re: Install process stops... or blank page

Posted: Fri Jan 23, 2009 11:05 am
by Lineapixel
I had the same problem.
line 123 should be

Code: Select all

$smarty->assign_by_ref('languages', $installer->dropdown_lang());
It seems theres' something wrong about the language dropdown.
I gave it a try and commented out that line and line 146 too (that is identical).
It seems to be perfectly working.
The only matter is that you get a blank dropdown list in the language selection screen on install, but I clicked on and everything worked fine.

Re: Install process stops... or blank page

Posted: Fri Jan 23, 2009 8:25 pm
by hexdj
@Lineapixel:
That is what the line is already....

Re: Install process stops... or blank page

Posted: Fri Jan 23, 2009 9:12 pm
by alby
hexdj wrote: That is what the line is already....
What happen with:
$smarty->assign('languages', $installer->dropdown_lang());

Alby

Re: Install process stops... or blank page

Posted: Fri Jan 23, 2009 9:39 pm
by hexdj
@Alby:

I think that worked! I see the first two steps now, I have to wait until tonight to perform a full upgrade on this site and will report how it went tomorrow.

Thank you!

Re: Install process stops... or blank page

Posted: Sat Jan 24, 2009 10:26 am
by alby
hexdj wrote: I think that worked! I see the first two steps now, I have to wait until tonight to perform a full upgrade on this site and will report how it went tomorrow.
Very strange for object/arrays
Can you try in a system with a php more recent (5.2.X)?

Alby