PDA

View Full Version : Install on local server issue


righthosts
08-22-2005, 01:26 PM
hi,

I just downloaded PHPLD and installed it on my local WAMP5 Server for development and I get the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

--------------------------------------------------------------------------------

Apache/1.3.33 Server at localhost Port 80


--------
Id appreciate any help

David
08-22-2005, 02:57 PM
The first thing I would check is that all the files are there. Next, you might check the write permissions on
/includes/config.php
/temp/
/temp/templates

righthosts
08-22-2005, 04:24 PM
ok thanks, i will take a look first thing in the morning... I tried changing permissions for local folders using w explorer, is there a better way to do this on a local server using PHPAdmin etc?

vkaryl
08-22-2005, 04:28 PM
In a windows server setup (like xampp or wamp) you won't necessarily see "write permissions" on files and folders the way you will under linux.

I had to uncheck the box next to "read-only" in the "Properties" section of something, and can't remember what now either (highlight file or folder name, right-click, select Properties at the bottom of the screen).

Also, be sure you've made a user besides root, and given that user a password, and then change your config info to use those specifics. I haven't used wamp myself, but it shouldn't be too different from xampp....

Ap0s7le
08-22-2005, 06:22 PM
First off, contact your administrator :lol:

Open up your error logs, that should tell you exactly what the problem is.

If there are a lot of records in there and you don't know where to start, simply shut down Apache, go back to your log directory and delete them all.
Start Apache, go to where you installed PHPLD and try to run it. Once you get that error you should be able to open up the error log and make heads or tails out of it.

If in doubt, post the log to us. BUT only after you follow the steps above, as we don't need a huge log posted haha

Thanks righthosts.

-Casey

righthosts
08-23-2005, 01:25 PM
hi,
thanks for the feedback.

Ok this is my log error:

[Tue Aug 23 22:23:44 2005] [alert] [client 127.0.0.1] c:/wamp/www/righthosts/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

righthosts
08-23-2005, 01:36 PM
ok after doing a search here it looks like it's probably that i have to install the "mod_rewrite" module. Now i don't know where to get thiss exact component but i will head to google now to see what i can find....

righthosts
08-23-2005, 01:46 PM
Ok I have found that mod_rewrite is already in my Modules directory.

I have also noticed there are two config files, one in the inlcudes directory & one in the install directory. Which one was I meant to edit and which part?

I didnt see any info in the install doc to do any editing of the config as I thought it was all done via the browser. Maybe there is another install file with more details I havent found?

Update:

Ok I opened .htaccess and deleted everything below (thats everything in the file) and I see the install page. I'm not sure if this will work now after doing this but I will have a look now...

RewriteEngine Off
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]

new update:

ok after i deleted all the content in the .htaccess file i have managed to install it and it looks good so far .

One last question I hope on this now.... Will deleting that content in the .htaccess file cause any features to not work or problems?

vkaryl
08-23-2005, 03:47 PM
I don't have an .htaccess on my local install, works just fine (has for 3 years....), xampp not wamp but pretty close cousins....

righthosts
08-23-2005, 05:37 PM
ok I see vkaryl, Do you use the rewrite feature?

I have noticed that I can't use the rewrite feature of the directory and if I do then I will get an error saying that directory doesnt exist. Thats with using a blank .htaccess. I can't use the .htaccess otherwise i will get my original error .

I think i might be able to work around this though since I will be uploading the site to my remote sever when its completed and then I can just switch on the rewrite feature on as I'm sure my server has it working as I wanted.

I would still like to be able to use this feature on my local server though so I can view it as it will be live.

vkaryl
08-23-2005, 07:01 PM
I see that I'm answering you based on a misconception, and I apologize. I misread something back down the way....

I have the .htaccess in my local folder FOR phpLinkDirectory. I don't have one inside my server root folder. The one in my phpLD local folder is exactly the way it came out of the download when I uncompressed it.

So what I was telling you was backwards probably, sorry. I haven't had any of the sort of difficulties you are having, with the .htaccess for phpLD set up exactly as downloaded and extracted.

righthosts
08-24-2005, 12:56 AM
Ok I understand thanks, I would still like to know if you use the ReWrite feature too?

Does anyone know what could be the problem with this rewrite on my local server?

vkaryl
08-24-2005, 01:05 AM
Well, mod_rewrite is an installed and active module, and the .htaccess is in the folder so I assume it's working. 'bout all I can tell you, sorry! I didn't do anything special....

righthosts
08-24-2005, 03:16 AM
ok thanks for letting me know,

anyway i will just carry on and hope it works out when I upload it to the server.

I would appreciate anyone's feedback on this too if they have any clue on what is the cause.

vkaryl
08-24-2005, 03:31 AM
Ah. I'm betting it's because I'm using apache 2.whatever it is now.... if you can get an updated version of wamp, try that. If not, try xampp instead - latest version from apachefriends.org, also has php5.0.4 etc....

righthosts
08-24-2005, 03:35 AM
I have the following:

Apache version : Apache/1.3.33 (Win32)
PHP version : 5.0.3
MySQL version : 4.1.8-nt-log - extension : mysqli


I will look into your suggestions too

JohnAndrews
08-24-2005, 04:52 AM
If you have a plain-vanilla XAMPP install, your problem is likely to be mod_rewrite is disabled by default in the current XAMPP for Windows.

Look into http.conf (\xampp\apache\conf\httpd.conf) for the line
#LoadModule rewrite_module modules/mod_rewrite.so

and remove the leading # to "enable it"

then stop and start XAMP (or just Apache) and try again.

Be sure to re-copy the entire fresh phplinkdirectory fileset before you try to proceed with the install, since the aborted install did mess with some of the files. By resoring a complete set you avoid this issue:
{url not currently in service}


Related: Older versions of XAMPP came with mod_rewrite enabled, but had some issues with Windows (esp Win2000?), related to the way Windows restricted access to files beginning with "dot". You can get around the problem by changing the AccessFileName directive in http.conf, setting it to win.htaccess and renaming my .htaccess accordingly.

righthosts
08-24-2005, 08:59 AM
Hey thats it! :D - Im using WAMP5 but it was the same plus I had to uncomment this "AddModule mod_rewrite.c"

thanks and this is very cool

righthosts

mariner
04-18-2007, 03:00 AM
Hello,
I wonder if anyone else is running phpld 3.10 on a wamp server?

I've got wamp5.... keep getting this message:
"The used table type doesn't support FULLTEXT indexes"

Anyone know how to circumvent this? (I uncomment the mod rewrite thing already, as well, just in case, hehe)

Thanks.
-Justin

James
04-18-2007, 03:20 AM
yeah go into phpmy admin and set the database default engine to myisam

mariner
04-27-2007, 12:21 PM
:D Thanks, by the way.. it's working....

Pathan
04-30-2007, 03:35 PM
Me too using wamp5....everything OK. that config file & myisam engine, but still I am getting this error:
Content visible to registered users only.
Oops! I closely checked the Default engine it's InoDB, Kindly tell me may I run some query to change default engine for PhpmyAdmin??? If yest write down that query plz!!!

James
04-30-2007, 05:22 PM
you can change it via phpmyadmin.

Pathan
05-01-2007, 08:04 AM
I know this but how I can? Do I need to run some SQL query? Kindly guide me?

Pathan
05-01-2007, 08:06 AM
I know this but how I can? Do I need to run some SQL query? Kindly guide me.
Oops this got posted two times...kindly remove one.

mariner
05-01-2007, 12:47 PM
Hey,

I've got WAMP 5, version 1.7.0

I couldn't figure out how to do it through phpmyadmin... but....

Under "config files"

"my.ini"

Lines 82/83
# The default storage engine that will be used when create new tables when
default-storage-engine=MyISAM

I just changed InnoDB to MyISAM, restarted... phpLD installs fine now. :D

Pathan
05-02-2007, 02:18 PM
Content visible to registered users only.

Thank you so much...This really helped. Now everything up & running. :D Once agains thanks.

hassan784
08-18-2007, 10:50 PM
Dear users

I install PhpLD on My Local Server on computer ..but its give Error link that:
An error occured while creating/updating the database structure. Please check if you have appropriate database rights.
If you require help with your database server settings, please consult your hosting company.
The database server returned the following message:
The used table type doesn't support FULLTEXT indexes

Plz Help me how to fix it ?

hassan784
08-18-2007, 11:00 PM
How Can i change InnoDB to MyISAM in PHp my Admin
??
Plz help me

James
08-18-2007, 11:06 PM
Content visible to registered users only.


Read the full thread