#1 (permalink)  
Old 07-14-2008, 07:30 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default base path

what is the correct base path for windows in application.php? ie, i have this C:\wamp\www\domain and have tried various variations of \wamp\www\domain and \wamp\www\domain\ but no joy. i should know this, but have had sudden memory loss. i am trying to work localhost. many thanks.
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #2 (permalink)  
Old 07-14-2008, 07:45 AM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

im running xampp and this is the paths in my application.php

Code:
Content visible to License Owner only.
Reply With Quote
  #3 (permalink)  
Old 07-14-2008, 08:42 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@echo. thanks for reply. however, all i get localhost is a load of config settings when i run index.php. here is my code for application.php.
Code:
Content visible to License Owner only.
i have only included part of application.php for above code. also, there is no pass on mysql local. where else can i look?
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #4 (permalink)  
Old 07-14-2008, 08:54 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

just an update to my previous reply. the garbage i am seeing on screen, is the db.class.php file in lib. also, at the bottom of the screen. there is this:

Code:
Content visible to License Owner only.
seems like it could be db error? yet all my settings are correct. thanks
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #5 (permalink)  
Old 07-14-2008, 08:59 AM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

so your definatly saying your indexu instllation is

Code:
Content visible to License Owner only.

I cant see anything wrong with the paths


your mysql password would be the password you set when you installed WAMP,your going to struggle without it,


are you sure the database name is correct "link" seems a strange name for indexu, but i suppose it can be anything you want.

Other than that i would sugest a reinstall of your webserver software


Code:
Content visible to License Owner only.
you got to remember that password, it would be the same password to administer your mysql
Reply With Quote
  #6 (permalink)  
Old 07-14-2008, 09:11 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@echo. all other connections and sites on local are working ok. when i setup wamp i didn't use a pass nor is there a pass to mysql. i never use one locally. i can also connect to mysql through mysql command line. probably my error somewhere, will keep trying to find it. cheers
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #7 (permalink)  
Old 07-14-2008, 01:36 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Providing the path is correct, what you pasted for application.php is correct.

The error(s) you are getting are probably due to PHP not being set up properly to run with IndexU.

What version of PHP are you running? v5.x prefers PHP4. If you are running PHP5 then you may need to take a look at the environment and make some changes.
Reply With Quote
  #8 (permalink)  
Old 07-15-2008, 05:33 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@bruce. the path is definately correct. i am using wamp with php4 and MySQL server version 5.0.45. what could i be missing in php config that stops it running? cheers
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #9 (permalink)  
Old 07-15-2008, 08:18 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

just an update. since i added .htaccess from server to localhost, now getting 'internal server error'. is working on main server though. i have attached the .htaccess file to see if there are any errors. thanks
Code:
Content visible to License Owner only.
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #10 (permalink)  
Old 07-15-2008, 11:03 AM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

try commenting out either the

Options -MultiViews All -Indexes

or

RewriteEngine On




Reply With Quote
  #11 (permalink)  
Old 07-16-2008, 06:00 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@echo. tried what you suggested. by making changes, i either get 'internal server error' or fatal error like above. any other ideas? thanks
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #12 (permalink)  
Old 07-16-2008, 01:42 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

If you removed the options line and you're still getting a 500 error then remove htaccess completely.

You may not have configured your server for htaccess or mod_rewrite may be disabled.
Reply With Quote
  #13 (permalink)  
Old 07-17-2008, 06:05 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@bruce. removed .htaccess and still seing the db class file on screen with fatal error. any other ideas? many thanks
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
  #14 (permalink)  
Old 07-17-2008, 03:12 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

So I assume now the 500 errors have gone away, that would be an issue with the environment and needs to be fixed if you want to use mod_rewrite.

If your server is throwing out actual php code onto the page then it is not parsing php properly. That's a function of PHP and how the web server interprets PHP. You need support from the creator of your server software for that.
Reply With Quote
  #15 (permalink)  
Old 07-18-2008, 05:36 AM
Registered User
 
Join Date: Jul 2007
Posts: 126
smyhte is on a distinguished road
Default

@bruce. answered this reply yesterday, but it isn't here??? anyway, i have removed .htaccess and still displaying db class file. any other ideas? thanks
__________________
I know more today than i did yesterday...
V5.3.0
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
path zupi v5.x 4 12-03-2007 11:52 AM
Url path Kamran v5.x 2 04-08-2007 08:39 AM
5.0.1 Fresh Install error >> File Configuration >> Base path does not contain Indexu janewest v5.x 4 02-19-2006 11:35 AM
category path inspireme v5.x 1 01-11-2005 01:34 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 04:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate