Rev 6799 can't add or modify snapin, blank page
-
I have a similar problem. Clicking at “Create New Snapin” brings a sever error 500.
Apache log show the following error:[Fri Mar 18 14:53:59.605058 2016] [:error] [pid 17646] [client 10.xx.xx.xx:52947] PHP Fatal error: Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 73, referer: http://10.xx.xx.xx/fog/management/index.php?node=snapin
I did not created any snapins so i can not test if “List All Snapins” brings a error 500 too.
(Without snapins “List All Snapins” is working so far)Running latest Version 6811.
What i noticed since a few updates: When i follow the instructions during the update i get no possibility to update the db schema.
I only get the normal log screen. Is this correct?* You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://10.xx.xx.xx/fog/management * Press [Enter] key when database is updated/installed.
-
@jayphizzle It will only show a database update screen if there’s a database update to be performed. The warning you see there is just to ensure that you check the browser. You can just add the -y argument to the installer and it will do everything without prompting you (including updating db if there is a db update.)
-
Please update again and let me know if things are any better. I moved the ftpfilesonly function to the snapin management page. When it’s called it should have it’s proper variables set then.
-
@Tom-Elliott
Confirmed i can now access the snapins to edit, thank you very much -
@theWizard said:
@Tom-Elliott
Confirmed i can now access the snapins to edit, thank you very muchIt is working for me too!
Thx @tom-elliot for another quick fix!
-
Yes it’s ok for me too.
But I don’t know if you wanted that, now when I create or modify a snapin, I have no more choice box, for choosing what file present on server I want to use.
I can only upload.
so I can’t create a snapin from another one without downloading file, then reuploading it -
@Claude-Girard Does the file actually exist on the node master that it’s uploaded too?
-
@Tom-Elliott Yes. It exist.
On this screen capture is what I can see.
And when I create or update the snapin, if I download the file on my computer, and choose it for re-upload, on my server group owner for this file become “fog”, before it was “www-data” -
I may have made a bit of regression into this issue. I only state this because I’m trying to maintain the list and make the functions that handle it work properly.
-
Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.
-
@Tom-Elliott said:
Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.
Sorry but Rev 6885, again blank page in create snapin and edit snapin.
Apache error log (same error in crating or in editing snapin):
[Mon Mar 21 08:33:21.445380 2016] [:error] [pid 2066] [client 172.20.40.1:39732] PHP Fatal error: Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 74, referer: http://crim-fog.pu-pm.univ-fcomte.fr/fog/management/index.php?node=snapin&sub=list
-
@Claude-Girard Should be fixed in latest.
-
@Tom-Elliott
Yes solved
Thank you