Guest Posted January 18, 2009 Share Posted January 18, 2009 hi I am new to oscommerce and also new to making websites uing all the codes. I have errors at the top of my website after uploading all of the files for the template GG9.(which i found in the contributions). Warning: extract() [function.extract]: First argument should be an array in /mounted-storage/home108c/sub009/sc64846-NAIN/www/includes/application_top.php on line 199 Warning: Installation directory exists at: /home108c/sub009/sc64846-NAIN/www/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: /home108c/sub009/sc64846-NAIN/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /home108c/sub009/sc64846-NAIN/Event09.goldhawkmagic.com//tmp. Sessions will not work until this directory is created. These are the errors that are at the top of my web page. Please can someone tell me how i am to fix this. Also for some reason i have uploaded all of the pictures yet i just have a very disformed template and no buttons or any other picture. is this because of the errors? If some one could please help that would be great. :rolleyes: Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 19, 2009 Share Posted January 19, 2009 Warning: Installation directory exists at: /home108c/sub009/sc64846-NAIN/www/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: /home108c/sub009/sc64846-NAIN/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /home108c/sub009/sc64846-NAIN/Event09.goldhawkmagic.com//tmp. Sessions will not work until this directory is created. [/b] First step should be to follow the instructions to correct these 3 problems Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2009 Share Posted January 20, 2009 hi i have sorted out two of them and now i just have these Warning: extract() [function.extract]: First argument should be an array in /mounted-storage/home108c/sub009/sc64846-NAIN/www/includes/application_top.php on line 199 Warning: Installation directory exists at: /home108c/sub009/sc64846-NAIN/www/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: /home108c/sub009/sc64846-NAIN/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Any ideas on how to get rid of these please? Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2009 Share Posted January 20, 2009 hi but when i go to my admin page to go in and login to change things this error comes up: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) in /mounted-storage/home108c/sub009/sc64846-NAIN/www/admin/includes/functions/database.php on line 19 Unable to connect to database server! please tell me how to change this? Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2009 Share Posted January 20, 2009 hi i now only have these errors: Warning: extract() [function.extract]: First argument should be an array in /mounted-storage/home108c/sub009/sc64846-NAIN/www/includes/application_top.php on line 199 Warning: I am able to write to the configuration file: /home108c/sub009/sc64846-NAIN/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. so please if you know how to sort these out i would be very thankful if you could kindly tell me. many thanks Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2009 Share Posted January 20, 2009 hi if i delete this extract($_SESSION, EXTR_OVERWRITE+EXTR_REFS); from www/includes/application_top.php on line 199 will this effect my website at all or will it be ok? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.