Jump to content

issues with Config.php file


Recommended Posts

I was trying to resolve an issue with the translation module and then when I though I did then and refresh my store I now see this warnings and of course I can not access anything on the store or the website.

 

Any help is appreciated.

 

Warning: include(/homepages/16/d393854940/htdocs/admin123/../config/config.inc.php) [function.include]: failed to open stream: No such file or directory in /homepages/16/d393854940/htdocs/admin123/index.php on line 31

 

Warning: include() [function.include]: Failed opening '/homepages/16/d393854940/htdocs/admin123/../config/config.inc.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/16/d393854940/htdocs/admin123/index.php on line 31

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d393854940/htdocs/admin123/index.php:31) in /homepages/16/d393854940/htdocs/admin123/header.inc.php on line 29

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d393854940/htdocs/admin123/index.php:31) in /homepages/16/d393854940/htdocs/admin123/header.inc.php on line 30

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d393854940/htdocs/admin123/index.php:31) in /homepages/16/d393854940/htdocs/admin123/header.inc.php on line 31

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d393854940/htdocs/admin123/index.php:31) in /homepages/16/d393854940/htdocs/admin123/header.inc.php on line 32

 

Fatal error: Class 'Cookie' not found in /homepages/16/d393854940/htdocs/admin123/init.php on line 32

Thanks,

 

Carlos

Link to comment
Share on other sites

This is what I did exactly, I was having some issues with the translation module which for some reason it desapaired and could not translate anything until then, I used filezilla as my FTP resource and someone in the forum check that confing.php file was corrupt and suggested to make the exact changes to the file

 

It appears that there is an error on that page, if possible change your file config/config.inc.php as follows, then repost the error (if any):

/* Debug only */

@ini_set('display_errors', 'off');

define('_PS_DEBUG_SQL_', false);

 

to

/* Debug only */

@ini_set('display_errors', 'on');

define('_PS_DEBUG_SQL_', true);

 

I proceeded with change suggested and add the new changes to the config.php folder, when that happend the all went wrong. I don't know what exactly is missing in the process. Your help is truly appreciated at this moment.

 

Thanks,

 

Carlos

Link to comment
Share on other sites

oké true or false does not matter in my opinion. that is not the error.

but it is exactly in the file including no typos? define('_PS_DEBUG_SQL_', true);

I think you made ​​a typo somewhere

the file permissions are still good? (644)

have you tried to replace the file by the original?

Link to comment
Share on other sites

×
×
  • Create New...