Install process stops... or blank page

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
alby

Install process stops... or blank page

Post 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
Last edited by alby on Thu Sep 04, 2008 7:28 pm, edited 1 time in total.
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: Install process stops... or blank page

Post 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.
alby

Re: Install process stops... or blank page

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Install process stops... or blank page

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
RappScallion
Forum Members
Forum Members
Posts: 17
Joined: Thu Oct 18, 2007 3:02 pm

Re: Install process stops... or blank page

Post 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.
Last edited by RappScallion on Mon Oct 27, 2008 5:38 pm, edited 1 time in total.
alby

Re: Install process stops... or blank page

Post 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
RappScallion
Forum Members
Forum Members
Posts: 17
Joined: Thu Oct 18, 2007 3:02 pm

Re: Install process stops... or blank page

Post 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?
alby

Re: Install process stops... or blank page

Post 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
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Install process stops... or blank page

Post 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!
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Install process stops... or blank page

Post 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?
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

Re: Install process stops... or blank page

Post 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.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Install process stops... or blank page

Post by hexdj »

@Lineapixel:
That is what the line is already....
alby

Re: Install process stops... or blank page

Post by alby »

hexdj wrote: That is what the line is already....
What happen with:
$smarty->assign('languages', $installer->dropdown_lang());

Alby
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Install process stops... or blank page

Post 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!
alby

Re: Install process stops... or blank page

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”