Adding Module Causes Install Screen
[EDIT]
Added screenshot showing can't run any of the CLI commands being suggested:
[/EDIT]
Implemented add new table official learning module (http://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/) with no issues.
Implemented add new product attribute official learning module (http://devdocs.magento.com/videos/fundamentals/add-new-product-attribute/), and the # magento setup:upgrade
step yields:
magento_user@ubuntu:/var/www/html/magento.dev/app/code/Learning/ClothingMaterial/Setup#
magento setup:upgrade
Notice: Undefined index: websites in /var/www/html/magento.dev/vendor/magento/module-config/App/Config/Type/System.php
on line 248
Now I'm getting the install screen when I visit the store.
Welcome to Magento Admin, your online store headquarters. Click
'Agree and Set Up Magento' or read Getting Started to learn more.
Tried uninstalling the module # magento module:disable Learning_ClothingMaterial --clear-static-content
and re-running # magento setup:upgrade
amd # magento setup:di:compile
but upgrade yields same error as above and compile yields:
[Exception] Warning: array_replace_recursive(): Argument #1 is not
an array in /var/www/html/magento.dev/vendor/magento/fram
ework/App/DeploymentConfig/Writer.php on line 135
It's impressive that following along with an official tutorial causes this level of destruction. Really hope there's an easy fix, as have had to re-install a half-dozen times now due to very similar issues.
Env: a vanilla composer CE 2.2 sandbox, on a bare metal Ubuntu 16 LAMP with PHP 7.1.
module magento2.2 exception
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
[EDIT]
Added screenshot showing can't run any of the CLI commands being suggested:
[/EDIT]
Implemented add new table official learning module (http://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/) with no issues.
Implemented add new product attribute official learning module (http://devdocs.magento.com/videos/fundamentals/add-new-product-attribute/), and the # magento setup:upgrade
step yields:
magento_user@ubuntu:/var/www/html/magento.dev/app/code/Learning/ClothingMaterial/Setup#
magento setup:upgrade
Notice: Undefined index: websites in /var/www/html/magento.dev/vendor/magento/module-config/App/Config/Type/System.php
on line 248
Now I'm getting the install screen when I visit the store.
Welcome to Magento Admin, your online store headquarters. Click
'Agree and Set Up Magento' or read Getting Started to learn more.
Tried uninstalling the module # magento module:disable Learning_ClothingMaterial --clear-static-content
and re-running # magento setup:upgrade
amd # magento setup:di:compile
but upgrade yields same error as above and compile yields:
[Exception] Warning: array_replace_recursive(): Argument #1 is not
an array in /var/www/html/magento.dev/vendor/magento/fram
ework/App/DeploymentConfig/Writer.php on line 135
It's impressive that following along with an official tutorial causes this level of destruction. Really hope there's an easy fix, as have had to re-install a half-dozen times now due to very similar issues.
Env: a vanilla composer CE 2.2 sandbox, on a bare metal Ubuntu 16 LAMP with PHP 7.1.
module magento2.2 exception
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
[EDIT]
Added screenshot showing can't run any of the CLI commands being suggested:
[/EDIT]
Implemented add new table official learning module (http://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/) with no issues.
Implemented add new product attribute official learning module (http://devdocs.magento.com/videos/fundamentals/add-new-product-attribute/), and the # magento setup:upgrade
step yields:
magento_user@ubuntu:/var/www/html/magento.dev/app/code/Learning/ClothingMaterial/Setup#
magento setup:upgrade
Notice: Undefined index: websites in /var/www/html/magento.dev/vendor/magento/module-config/App/Config/Type/System.php
on line 248
Now I'm getting the install screen when I visit the store.
Welcome to Magento Admin, your online store headquarters. Click
'Agree and Set Up Magento' or read Getting Started to learn more.
Tried uninstalling the module # magento module:disable Learning_ClothingMaterial --clear-static-content
and re-running # magento setup:upgrade
amd # magento setup:di:compile
but upgrade yields same error as above and compile yields:
[Exception] Warning: array_replace_recursive(): Argument #1 is not
an array in /var/www/html/magento.dev/vendor/magento/fram
ework/App/DeploymentConfig/Writer.php on line 135
It's impressive that following along with an official tutorial causes this level of destruction. Really hope there's an easy fix, as have had to re-install a half-dozen times now due to very similar issues.
Env: a vanilla composer CE 2.2 sandbox, on a bare metal Ubuntu 16 LAMP with PHP 7.1.
module magento2.2 exception
[EDIT]
Added screenshot showing can't run any of the CLI commands being suggested:
[/EDIT]
Implemented add new table official learning module (http://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/) with no issues.
Implemented add new product attribute official learning module (http://devdocs.magento.com/videos/fundamentals/add-new-product-attribute/), and the # magento setup:upgrade
step yields:
magento_user@ubuntu:/var/www/html/magento.dev/app/code/Learning/ClothingMaterial/Setup#
magento setup:upgrade
Notice: Undefined index: websites in /var/www/html/magento.dev/vendor/magento/module-config/App/Config/Type/System.php
on line 248
Now I'm getting the install screen when I visit the store.
Welcome to Magento Admin, your online store headquarters. Click
'Agree and Set Up Magento' or read Getting Started to learn more.
Tried uninstalling the module # magento module:disable Learning_ClothingMaterial --clear-static-content
and re-running # magento setup:upgrade
amd # magento setup:di:compile
but upgrade yields same error as above and compile yields:
[Exception] Warning: array_replace_recursive(): Argument #1 is not
an array in /var/www/html/magento.dev/vendor/magento/fram
ework/App/DeploymentConfig/Writer.php on line 135
It's impressive that following along with an official tutorial causes this level of destruction. Really hope there's an easy fix, as have had to re-install a half-dozen times now due to very similar issues.
Env: a vanilla composer CE 2.2 sandbox, on a bare metal Ubuntu 16 LAMP with PHP 7.1.
module magento2.2 exception
module magento2.2 exception
edited Nov 2 '17 at 16:03
FlashJordan
asked Nov 1 '17 at 23:28
FlashJordanFlashJordan
315
315
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you want to uninstall it:
-> go to Database
-> go to setup_module
-> find Learning_ClothingMaterial
-> delete row
-> clear cache with php bin/magento cache:clean
-> clear generated by deleting content of the folder /generated
-> run setup upgrade with php bin/magento setup:upgrade
-> recompile website with php bin/magento setup:static-content:deploy
Update
Not sure why you do not need to use php bin/magento
because the magento commands should be in the bin folder.
I can tell you in developer mode you need to add '-f'
to the command like php bin/magento -f setup:static-content:deploy
I can also tell you if its not the bin/magento
and you are still getting the 'there are no commands defined in the ... namespace'
it means that a class was not used (on top of you php file you need to include your classes by adding 'use Magento/.../..."
or badly used in the __construct
of your php files.
You can just delete the module files and directories that you created , delete the setup_module
and recompile.
If you want to get the module working then you need to go and comment out every class that you used until it works.
To provide more assistance on that i will need to see your code.
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.# magento cache:clean
fails:[SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Runningexport PATH=$PATH:/var/www/html/magento.dev/bin
makesmagento
a shortcut forphp bin/magento
. Static content deployment fails with-f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.
– FlashJordan
Nov 3 '17 at 15:48
add a comment |
Try this in your custom module module.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="1.0.0">
</module>
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f199689%2fadding-module-causes-install-screen%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you want to uninstall it:
-> go to Database
-> go to setup_module
-> find Learning_ClothingMaterial
-> delete row
-> clear cache with php bin/magento cache:clean
-> clear generated by deleting content of the folder /generated
-> run setup upgrade with php bin/magento setup:upgrade
-> recompile website with php bin/magento setup:static-content:deploy
Update
Not sure why you do not need to use php bin/magento
because the magento commands should be in the bin folder.
I can tell you in developer mode you need to add '-f'
to the command like php bin/magento -f setup:static-content:deploy
I can also tell you if its not the bin/magento
and you are still getting the 'there are no commands defined in the ... namespace'
it means that a class was not used (on top of you php file you need to include your classes by adding 'use Magento/.../..."
or badly used in the __construct
of your php files.
You can just delete the module files and directories that you created , delete the setup_module
and recompile.
If you want to get the module working then you need to go and comment out every class that you used until it works.
To provide more assistance on that i will need to see your code.
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.# magento cache:clean
fails:[SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Runningexport PATH=$PATH:/var/www/html/magento.dev/bin
makesmagento
a shortcut forphp bin/magento
. Static content deployment fails with-f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.
– FlashJordan
Nov 3 '17 at 15:48
add a comment |
If you want to uninstall it:
-> go to Database
-> go to setup_module
-> find Learning_ClothingMaterial
-> delete row
-> clear cache with php bin/magento cache:clean
-> clear generated by deleting content of the folder /generated
-> run setup upgrade with php bin/magento setup:upgrade
-> recompile website with php bin/magento setup:static-content:deploy
Update
Not sure why you do not need to use php bin/magento
because the magento commands should be in the bin folder.
I can tell you in developer mode you need to add '-f'
to the command like php bin/magento -f setup:static-content:deploy
I can also tell you if its not the bin/magento
and you are still getting the 'there are no commands defined in the ... namespace'
it means that a class was not used (on top of you php file you need to include your classes by adding 'use Magento/.../..."
or badly used in the __construct
of your php files.
You can just delete the module files and directories that you created , delete the setup_module
and recompile.
If you want to get the module working then you need to go and comment out every class that you used until it works.
To provide more assistance on that i will need to see your code.
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.# magento cache:clean
fails:[SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Runningexport PATH=$PATH:/var/www/html/magento.dev/bin
makesmagento
a shortcut forphp bin/magento
. Static content deployment fails with-f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.
– FlashJordan
Nov 3 '17 at 15:48
add a comment |
If you want to uninstall it:
-> go to Database
-> go to setup_module
-> find Learning_ClothingMaterial
-> delete row
-> clear cache with php bin/magento cache:clean
-> clear generated by deleting content of the folder /generated
-> run setup upgrade with php bin/magento setup:upgrade
-> recompile website with php bin/magento setup:static-content:deploy
Update
Not sure why you do not need to use php bin/magento
because the magento commands should be in the bin folder.
I can tell you in developer mode you need to add '-f'
to the command like php bin/magento -f setup:static-content:deploy
I can also tell you if its not the bin/magento
and you are still getting the 'there are no commands defined in the ... namespace'
it means that a class was not used (on top of you php file you need to include your classes by adding 'use Magento/.../..."
or badly used in the __construct
of your php files.
You can just delete the module files and directories that you created , delete the setup_module
and recompile.
If you want to get the module working then you need to go and comment out every class that you used until it works.
To provide more assistance on that i will need to see your code.
If you want to uninstall it:
-> go to Database
-> go to setup_module
-> find Learning_ClothingMaterial
-> delete row
-> clear cache with php bin/magento cache:clean
-> clear generated by deleting content of the folder /generated
-> run setup upgrade with php bin/magento setup:upgrade
-> recompile website with php bin/magento setup:static-content:deploy
Update
Not sure why you do not need to use php bin/magento
because the magento commands should be in the bin folder.
I can tell you in developer mode you need to add '-f'
to the command like php bin/magento -f setup:static-content:deploy
I can also tell you if its not the bin/magento
and you are still getting the 'there are no commands defined in the ... namespace'
it means that a class was not used (on top of you php file you need to include your classes by adding 'use Magento/.../..."
or badly used in the __construct
of your php files.
You can just delete the module files and directories that you created , delete the setup_module
and recompile.
If you want to get the module working then you need to go and comment out every class that you used until it works.
To provide more assistance on that i will need to see your code.
edited Nov 3 '17 at 3:46
answered Nov 2 '17 at 3:25
SwAt.BeSwAt.Be
1,375624
1,375624
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.# magento cache:clean
fails:[SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Runningexport PATH=$PATH:/var/www/html/magento.dev/bin
makesmagento
a shortcut forphp bin/magento
. Static content deployment fails with-f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.
– FlashJordan
Nov 3 '17 at 15:48
add a comment |
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.# magento cache:clean
fails:[SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Runningexport PATH=$PATH:/var/www/html/magento.dev/bin
makesmagento
a shortcut forphp bin/magento
. Static content deployment fails with-f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.
– FlashJordan
Nov 3 '17 at 15:48
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.
# magento cache:clean
fails: [SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Deleted Learning_ClothingMaterial from setup_module table, and deleted content from /generated.
# magento cache:clean
fails: [SymfonyComponentConsoleExceptionCommandNotFoundException] There are no commands defined in the "cache" namespace.
– FlashJordan
Nov 2 '17 at 15:46
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Added screenshot to OP showing CLI output for the commands you recommended.
– FlashJordan
Nov 2 '17 at 16:25
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Updated my answer
– SwAt.Be
Nov 3 '17 at 3:47
Running
export PATH=$PATH:/var/www/html/magento.dev/bin
makes magento
a shortcut for php bin/magento
. Static content deployment fails with -f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.– FlashJordan
Nov 3 '17 at 15:48
Running
export PATH=$PATH:/var/www/html/magento.dev/bin
makes magento
a shortcut for php bin/magento
. Static content deployment fails with -f
as well. All custmizations added were copy/pasted from this official magento tutorial, so if the usings or contructors are erroneous... Yes, I deleted all flat file content added for the tutorial. As such, there's no code for you to see... this was a functioning vanilla CE 2.2 sandbox with no customization apart from the two training modules noted in the OP.– FlashJordan
Nov 3 '17 at 15:48
add a comment |
Try this in your custom module module.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="1.0.0">
</module>
add a comment |
Try this in your custom module module.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="1.0.0">
</module>
add a comment |
Try this in your custom module module.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="1.0.0">
</module>
Try this in your custom module module.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="1.0.0">
</module>
answered Apr 16 '18 at 14:52
Raviteja BhaskarabhatlaRaviteja Bhaskarabhatla
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f199689%2fadding-module-causes-install-screen%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown