17 - error after deleting install folder
after i installed everything and deleted the install folder im getting this error:
Warning: require_once(/skg_web/install/install.php [function.require-once]: failed to open stream: No such file or directory in C:\skg_web\index.php on line 175
Fatal error: require_once() [function.require]: Failed opening required '/skg_web/install/install.php' (include_path='.;C:\PHP\pear') in C:\skg_web\index.php on line 175
how can i fix this?
| Name | Size | MD5 |
|---|---|---|
| config.php | 6.5 KiB | d965766fae0e00bea3613c82c7c6f584 |
| User | When | Change |
|---|---|---|
| Jabouty | Wed, 20 May 2009 01:41:55 | Changed status from Waiting to Replied |
| Jabouty | Wed, 20 May 2009 00:42:07 | Deleted attachment config.php: obfuscate passes man lol |
| Jabouty | Wed, 20 May 2009 00:41:45 | Added attachment config.php |
| Jabouty | Wed, 20 May 2009 00:40:26 | Changed status from Replied to Waiting |
| amundfosho | Tue, 19 May 2009 12:03:43 | Changed status from Waiting to Replied |
| amundfosho | Tue, 19 May 2009 12:02:41 | Added attachment config.php |
| Jabouty | Tue, 19 May 2009 11:57:32 | Changed status from New to Waiting |
| amundfosho | Tue, 19 May 2009 10:10:33 | Create |
- 9 comments
- 9 comments
Facts
- Last updated on
- 23 Jun 2009
- Reported on
- 19 May 2009
- Status
- Replied - Someone has replied after waiting for more information.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- #10
tinlar Sat, 27 Jun 2009 19:20:18Okay so that appears to have everything up and running as far as I know to test. To recap the changes I made.
In uploader.php I changed line 104 from
$rollListSQL = "INSERT INTO skg_list_rolllists (id, listName, position, main_id, lastUpdate) values ('', '".addslashes($rollList)."', '".$position."', '".$main_id."', '".$updateTime."');";
to
$rollListSQL = "INSERT INTO skg_list_rolllists (listName, position, main_id, lastUpdate) values ('".addslashes($rollList)."', '".$position."', '".$main_id."', '".$updateTime."');";
in functions.php change the case statements to be all lower case as follows
- #9
tinlar Sat, 27 Jun 2009 02:34:53If it helps it is the while loop and switch check in the checkInstall function that is failing. The cases appear to never be triggers so it try's to send you back through an install.
a _dirty_dirty_dirty_ hack to get around this is to edit functions.php and insert a return; on line 89 before the return 'InstallSystem';
You would, of coarse, need to have completed the install at least once before making this change.
Someone with more time should figure out why the switch is failing though, it seems valid to me.
- #8
tinlar Sat, 20 Jun 2009 23:10:48It might be worth note that in the error this appears
Failed opening required 'D:\wwwroot/iu/skg_web/install/install.php' (include_path='.;C:\php5\pear')
while C:\php5\pear is _NOT_ the correct path to my PHP directory ... is should be c:\php\pear ... I have yet to find where the include_path gets set.
right after I posted this I found it in the php.ini ... correcting it has not fixed the error. the full error is now
PHP Warning: require_once(D:\wwwroot/iu/skg_web/install/install.php) [function.require-once]: failed to open stream: No such file or directory in D:\wwwroot\IU\skg_web\index.php on line 175 PHP Fatal error: require_once() [function.require]: Failed opening required 'D:\wwwroot/iu/skg_web/install/install.php' (include_path='.;c:\php\pear') in D:\wwwroot\IU\skg_web\index.php on line 175
I've also corrected the /'s and \'s at one point by hard coding in some paths... it didn't fix the problem so I undid the change as I doubt the /'s are causing the problem.
- #7
tinlar Sat, 20 Jun 2009 22:58:45I'm having this same issue, you can add tinlar at gmail dot com if I can be of any help. http://www.immortalunion.org/iu/skg_web
http://www.immortalunion.org/info.php
http://pastebin.com/m2052ee7a <
- my config file currently- #6
amundfosho Wed, 20 May 2009 17:10:40added you now.. not sure if i got it all right but.. if it didnt work add (amundjohnsen2 [AT] hotmail [DOT] com) =D
- #5
Jabouty Wed, 20 May 2009 01:42:15If you get to here before IMing or emailing (bubbabriggs AT gmail DOT com) me, try changing the first setup lines in config.php to:
- #3
Jabouty Wed, 20 May 2009 00:40:19Looks like I'm going to need to work abit more with you in particular to find out why it's buggin out. Do you have an IM program that I can hit you up on?
Google Talk and MSN for me are: bubbabriggs
- #2
amundfosho Tue, 19 May 2009 12:03:43http://bsk.no-ip.org/skg_web/ http://bsk.no-ip.org/sick/raid/phpinfo.php
there u go =)
- #1
Jabouty Tue, 19 May 2009 11:57:02I need a copy of your config.php file and some urls to your site (one with your phpinfo(); and your skg_web url) so I can see where the issue lies.