Jump to content


Main configuration file not found


  • You cannot reply to this topic
26 replies to this topic

#1 eurobrew

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 17 March 2008 - 10:10 AM

Hi there, i just installed Etomite CMS following the instructions on your website. I pressed save on the site configuration and then get this message when viewing any pages (including index.php):

Quote

Warning: main(quotes_stripper.inc.php) [function.main]: failed to open stream: No such file or directory in /home/virtual/site143/fst/var/www/html/test/index.php on line 65

Warning: main() [function.include]: Failed opening 'quotes_stripper.inc.php' for inclusion (include_path='./includes/') in /home/virtual/site143/fst/var/www/html/test/index.php on line 65
Main configuration file not found. Please run the Etomite installer.Check the documentation for more information.

I'm running Etomite 0.6.1 Final, with php 4.4.4.
What could be the problem??

#2 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 17 March 2008 - 10:48 AM

Hi, have you tried re-uploading all the files within the includes folder (excluding the config* files)?

#3 eurobrew

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 17 March 2008 - 02:05 PM

View PostDean, on Mar 17 2008, 08:48 PM, said:

Hi, have you tried re-uploading all the files within the includes folder (excluding the config* files)?

Hi dean, i've tried that, still get the exact same error. Is it something to do with permissions? I can't work it out i even re-uploaded all the files and started again - still the exact same error message.

I forgot to mention im running MySQL 4.1.21 & Apache 2.0.52.

Any ideas?

#4 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 17 March 2008 - 02:50 PM

what permission's are on the config file?

#5 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 17 March 2008 - 05:01 PM

Can you upload a file onto the serverlike the one listed below and then PM Dean, myself, or both of us, the link so we can view the server configuration...??? Sounds like permissions issues, as we have seen similar problems before, but you never know...

<?php phpinfo(); ?>


#6 robaer

    Etomite Forum Newbie

  • Member
  • 20 posts

Posted 25 March 2008 - 08:30 AM

Hi there,

I got the same error within an Etomite-website. The installation works fine
just to the point you have to start the manager. And then you receive the
errors mentioned. We even tried deleting everything, reinstalling and so on,
but nothing seems to work. The PHP-info file is included with the errors at the
bottom.

I hope anyone has a solution.......

Robaer

Attached Files



#7 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 25 March 2008 - 09:34 AM

My guess is that you are using an old version of etomite. Line 66 in 0.6.1.4 and 0.6.1.3 and even 0.6.1 is talking about etomite cookie logging, not 'quotes_stripper.inc.php' .

Quote

I hope anyone has a solution.......
Upgrade!

#8 robaer

    Etomite Forum Newbie

  • Member
  • 20 posts

Posted 25 March 2008 - 10:01 AM

View PostCris D., on Mar 25 2008, 10:34 AM, said:

My guess is that you are using an old version of etomite. Line 66 in 0.6.1.4 and 0.6.1.3 and even 0.6.1 is talking about etomite cookie logging, not 'quotes_stripper.inc.php' .

Upgrade!

Hi CHris,

thnx for your reaction. I'm sorry to say that we are using 0.6.1.4 final. You should be
watching index.php from the managermap and not config.inc.php.
See line 60 and further (index.php):

//var_dump (set_include_path("./");
error_reporting(E_ALL ^ E_NOTICE);
@set_magic_quotes_runtime(0);

// include_once the magic_quotes_gpc workaround
include_once "quotes_stripper.inc.php";

Robaer

#9 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 25 March 2008 - 12:12 PM

Quote

You should be
watching index.php from the managermap and not config.inc.php.
Ah, yes... My Bad!

Have you tried playing with the permissions (CHMOD) of these files? Sometimes too open will cause file to not run and too closed may cause file to not be readable. About 644... Have you also confirmed that the file is actually there? And can you saved the manager settings?

#10 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 25 March 2008 - 12:56 PM

@robaer...

Without taking a hands-on look I can't be sure of what might be causing your problems... I did notice, however, that your server is running SQLite, not MySQL, which may be contributing to the problem... If you would like me to take a closer look just PM or email me login and FTP information...

#11 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 25 March 2008 - 07:18 PM

This sounds very similar to the problem that several users have been having with PHP 5.2.5 not allowing changes to the include path due to hosts making changes to the global php.ini file... Some users get a "Not Logged In" message and no login panel which also indicates the problem...

In your manager/index.php file try changing that block of code:

// set some runtime options
	  if(version_compare(phpversion(), "4.3.0")>=0)
	  {
		set_include_path("./includes/");
	  }
	  else
	  {
		ini_set("include_path", "./includes/");
	  }
with just plain:

ini_set("include_path", "./includes/");
 OR
 ini_set("include_path",ini_get("include_path").":./includes/"); // appends to existing include_path
 OR
ini_set("include_path",dirname(__FILE__)."/includes/".":".ini_get("include_path"));
 OR
ini_set("include_path",ini_get("include_path").":".dirname(__FILE__)."/includes/");
and let us know if one of those changes makes any difference...

#12 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 26 March 2008 - 01:53 PM

Anyone...??? I need to know if any of these potential solutions work so I can implement the change for the v1.0 releae code base...

#13 stp69

    Etomite Forum Newbie

  • Member
  • 41 posts

Posted 28 March 2008 - 08:25 PM

hi Ralph,

no one works on my Konfiguration.

sorry :(

pls read your PM :)

Edited by stp69, 28 March 2008 - 08:33 PM.


#14 ErwinB

    Etomite Forum Newbie

  • Member
  • 7 posts

Posted 02 April 2008 - 01:03 AM

I've being having the same problems:

Here is the error:
Warning: main(actions/static/welcome.static.action.php): failed to open stream: No such file or directory in /home/logosdra/public_html/Etomite/manager/index.php on line 187

Warning: main(): Failed opening 'actions/static/welcome.static.action.php' for inclusion (include_path='./includes/') in /home/logosdra/public_html/Etomite/manager/index.php on line 187


current environment:
Operating system Linux

Kernel version 2.6.17-1.2142_FC4smp Machine Type i686 Apache version 1.3.34 (Unix)







PHP version 4.4.2 MySQL version 4.0.27-standard








steps I've already taken:
1) changed the permissions on specified file to 755 and resulted in same error
2) changed permissions on specified file to 644 and resulted in the same error


Any suggestions on how to resolve this issue or is there a more stable version of etomite that I can install?

#15 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 02 April 2008 - 01:32 AM

@ErwinB

Is this a new installation or an existing install that has unexpectedly stopped working...???

#16 ErwinB

    Etomite Forum Newbie

  • Member
  • 7 posts

Posted 02 April 2008 - 02:49 AM

View PostRalph, on Apr 1 2008, 09:32 PM, said:

@ErwinB

Is this a new installation or an existing install that has unexpectedly stopped working...???

new installation...any suggestions?

#17 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 02 April 2008 - 03:25 AM

View PostErwinB, on Apr 1 2008, 10:49 PM, said:

new installation...any suggestions?


Sounds like either file permissions or a faulty upload... Check to see if the files in question are actually in the fil structure via FTP... If they are then you might have permissions issues...

#18 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 02 April 2008 - 01:23 PM

I think I have the entire code base patched to resolve this ongoing issue of newer PHP installs not allowing changes to the include_path php.ini setting... I spent most of yesterday editing virtually every PHP script in the code base to point all includes to the manager/includes/ directory... This fix will only be available in the Perlude v1.0 release and I am hoping to test this fix on a server known to have this problem today...

#19 ErwinB

    Etomite Forum Newbie

  • Member
  • 7 posts

Posted 02 April 2008 - 01:46 PM

View PostRalph, on Apr 2 2008, 09:23 AM, said:

I think I have the entire code base patched to resolve this ongoing issue of newer PHP installs not allowing changes to the include_path php.ini setting... I spent most of yesterday editing virtually every PHP script in the code base to point all includes to the manager/includes/ directory... This fix will only be available in the Perlude v1.0 release and I am hoping to test this fix on a server known to have this problem today...

sorry but I find that the permission would be the problem because I changed all the files that it could not include to 777 by ftp and then also had my system admin do the samething and it was giving me the same issues. So where is this fix and can I test it first...its worth a try since I have a deadline to get this website done by tomorrow.

#20 ErwinB

    Etomite Forum Newbie

  • Member
  • 7 posts

Posted 02 April 2008 - 02:06 PM

View PostRalph, on Apr 1 2008, 09:32 PM, said:

@ErwinB

Is this a new installation or an existing install that has unexpectedly stopped working...???

new installation





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users