I have some trouble when using require(): sometimes it works, sometimes it doesn't. Have you faced the same problem?
I have a script that does some requires (12) inside the code (not at the beginning).
When I access the script via my favorite browser (Firefox), it can:
[ul][li]execute 1 require() and crash[/li]
[li]execute no require() at all and crash[/li]
[li]execute 8 require() and crash[/li]
[li]execute all the require() and do not crash!
[/li][/ul]
(I'm skipping all the intermediate values!)
Everytime I reload the page, I get a different value.
Do you know how can I face this? coz for now, my script is not very reliable!
Thanks a lot if you can help! I think I really have all the strange bugs... just for me!
I have a script that does some requires (12) inside the code (not at the beginning).
When I access the script via my favorite browser (Firefox), it can:
[ul][li]execute 1 require() and crash[/li]
[li]execute no require() at all and crash[/li]
[li]execute 8 require() and crash[/li]
[li]execute all the require() and do not crash!
(I'm skipping all the intermediate values!)
Everytime I reload the page, I get a different value.
Do you know how can I face this? coz for now, my script is not very reliable!
Thanks a lot if you can help! I think I really have all the strange bugs... just for me!