ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
333 stars 90 forks source link

Setup error #217

Closed ryzom-pipeline closed 4 years ago

ryzom-pipeline commented 9 years ago

Original report by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).


[19:45] Warning: Invalid argument supplied for foreach() in /home/ryzomadmin/ryzomcore/code/web/private_php/ams/autoload/users.php on line 360

Ubuntu 12.04 LTS Error when running setup during user creation

ryzom-pipeline commented 9 years ago

Original comment by like 2000 (Bitbucket: likecg2000, ).


yes,this error is also in windows 7 64 bit,use wmap(wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe install )

Warning: Invalid argument supplied for foreach() in K:\r-yb\my\ryzom_shard\tools\private_php\ams\autoload\users.php on line 360

my code version number is 95acc51758785fe623d6be3ff36f8e5bb705e4eb at 2015.3.8 get source.

(https://bitbucket.org/ryzom/ryzomcore/commits/95acc51758785fe623d6be3ff36f8e5bb705e4eb this version i get source )

01.jpg

Now how to modify this in users.php to correct installation to use ,I can't wait for version 0.12. this time I want to use.

ryzom-pipeline commented 8 years ago

Original comment by Deed Deedounet (Bitbucket: [Deed Deedounet](https://bitbucket.org/Deed Deedounet), ).


Hello, someone can repair this? Please please please put a knee on land

ryzom-pipeline commented 8 years ago

Original comment by Matthew Lagoe (Bitbucket: botanic, GitHub: botanic).


does this actually cause any issues or is it just a warning?

ryzom-pipeline commented 8 years ago

Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).


It can be fixed easily I think :p Just adding a : if ($variable) foreach($variable... should be enough but perhaps there is another bug before or after :p

ryzom-pipeline commented 7 years ago

Original comment by Guillaume DUPUY (Bitbucket: [Guillaume DUPUY](https://bitbucket.org/Guillaume DUPUY), ).


Can anyone reproduce this ? I had no issue in my last server installation on Debian jessie