Warning: parse_ini_file

Hi,

just installed Version: 2.0.14 , any ideas why I get the following error message when clicking onto the main index page?



________________________________________________________________________



Warning: parse_ini_file(/home//public_html/.co.uk/skins/basic/manifest.ini) [function.parse-ini-file]: failed to open stream: No such file or directory in /home//public_html/.co.uk/core/fn.init.php on line 154

___________________________________________________________________________



line 154 refers to :

// Get manifest

$manifest = parse_ini_file(DIR_SKINS . Registry::get('settings.skin_name
’ . AREA_NAME) . ‘/’ . SKIN_MANIFEST, true);

$view->assign(‘manifest’, $manifest);



Skins folder set to 777



Many thanks in advance.

kb.

That might be:


  1. your php version
  2. Your hosting service disabled that function



    Anyway it’s not a CS-Cart fault. Contact your hosting provider. They should be able to fix it.

the .manifest file needs to be readable as this file contains the skin parameters.



Without the file CS-Cart can’t tell what skin is used for admin/mail etc.

[quote name=‘JesseLeeStringer’]the .manifest file needs to be readable as this file contains the skin parameters.



Without the file CS-Cart can’t tell what skin is used for admin/mail etc.[/QUOTE]



…skins/basic/manifest.ini does not exist in the /basic directory tar file and therefore is not on the server.



I wonder if it’s actually necessary to specify the basic skin when installing, so that the manifest.ini file is where the program wants it?

It is in fact necessary to install the “basic” skin, otherwise the manifest.ini file will not be created in the correct directory. It is also necessary to manually create the two directories

/var/skins_repository/basic/customer/

/var/skins_repository/basic/admin/



This info refers to 2.0.15 trial

[quote name=‘brough’]…skins/basic/manifest.ini does not exist in the /basic directory tar file and therefore is not on the server.



I wonder if it’s actually necessary to specify the basic skin when installing, so that the manifest.ini file is where the program wants it?[/quote]


[quote name=‘brough’]It is in fact necessary to install the “basic” skin, otherwise the manifest.ini file will not be created in the correct directory. It is also necessary to manually create the two directories

/var/skins_repository/basic/customer/

/var/skins_repository/basic/admin/



This info refers to 2.0.15 trial[/quote]



Quite the opposite actually



“Basic” is an empty folder which loads all “Base” files



Base + Basic = Basic

Base + Aquarelle Red = Aquarelle Red



That said copy all of this into the basic skin /skins/basic and into /var/skins_repository/basic



description = "Basic skin"

admin = "Y"

customer = "Y"



[Customer_logo]

filename = "customer_area_logo.gif"

width = 176

height = 69



[Mail_logo]

filename = "invoice_logo.gif"

width = 119

height = 24



[Admin_logo]

filename = "logo.png"

width = 98

height = 17



[Signin_logo]

filename = "logo.png"

width = 98

height = 17



[Gift_certificate_logo]

filename = "gift_cert_logo.gif"

width = 176

height = 47





saving it as manifest.ini



If you still have issues I suggest you contact CS-Cart via helpdesk.cs-cart.com

Thanks for that.



My own skins/basic folder contains three subirectories, admin mail and customer, and all of these are far from empty. I have copied the manifest.ini file there as suggested.



The manifest.ini file already existed in my /var/skins_repository/basic directory as it had been written there when I went back and installed the basic skin.