permissions problems
Posted by: edgam85 (---.range86-157.btcentralplus.com)
Date: November 20, 2013 12:43PM

Hi

I have recently downloaded Wampserver lastest on Windows 32 bit

I have set up a file for tutorial work correctly in C:/wamp/www/cosmo_shop/ folder and getting the following message when previewing the work on Internet Explorer


Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

( ! ) Fatal error: Unknown: Failed opening required 'C:/wamp/www/cosmo_shop/index.php' (include_path='.;C:\php\pear') in Unknown on line 0

Can you please tell me how to fix this problem.

Thanks

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: November 20, 2013 06:17PM

If WAMPServer latest means WAMPServer 2.4 have you read and amended the instal s per these instructions?

[forum.wampserver.com]

Re: permissions problems
Posted by: edgam85 (---.range86-157.btcentralplus.com)
Date: November 26, 2013 12:25PM

Hi

Thanks for your help.

Yes it is Wampserver 2.4.

Been following the instructions and discovering problems

1) How do I find out whether my system IPv4 or IPv6

Done the setting on as IPV4 and when I try to start Wampserver, I get a error message 'Could not excute menu item (internal error) (Exception) Could not Perform service action; The service has not been started'

It also not recognising the localhost as I found a video on someone who had similar problem and look on task manager.

Also on your instructions, you have-

Fix this "cosmetic mistake" as it may prove important in later releases
Replace:
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
with
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all


Looks to be the same, anyway hope you ca

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: November 26, 2013 12:30PM

Can you complete this [forum.wampserver.com]


It sounds to me like you dont actually have the Apache service running yet, so the question about 'What colour is your wampmanager icon is probably the most important one, but answer them all.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: permissions problems
Posted by: edgam85 (---.range86-157.btcentralplus.com)
Date: November 26, 2013 01:37PM

Version of Operating system? Windows 7 32 bit
Version of Wamp Server installed? 2.4
Version of Apache you are running? 2.4.4
Version of MySQL you are running? 5.6.12
Version of PHP you are running? 5.4.16

What colour is your WampManager icon? Orange

Do you have a HOSTS file? [c:\windows\system32\drivers\etc\hosts] Yes

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: November 26, 2013 03:06PM

Right now we are attacking the problem and not the symptoms !!


How to tell which service is not running if the wampmanager icon is orange.

Left click the wampmanager icon to reveal the menu-> Apache -> Service
If the Start resume service menu item is Green then Apache is running.

Left click the wampmanager icon to reveal the menu-> MySQL -> Service
If the Start resume service menu item is Green then MySQL is running.

If Apache is the service that is not running it is normally, but not always, because something else has captured port 80.

Now do,
Left click the wampmanager icon to reveal the menu-> Apache -> Service -> Test port 80
This will launch a command window and display some information about what, if anything is using port 80.

Whatever it is should be re-configured to not use port 80 or uninstalled if you are not using it.

If port 80 is not the problem look for errors in the appropriate error log ( use the wamp manager menus to view the error logs )

If these do not exists or show no errors then also check the Windows Event Viewer
Start -> Administrative Tools -> Event Viewer
And look in the 'Windows Logs' -> Application' section accessed from the menu on the left of the dialog for error messages from Apache and or MySQL.


How to Configure SKYPE so it does not require port 80 or 443

Run SKYPE
then using the menus do this:
Tools -> Options -> Advanced -> Connection
Un-Check the checkbox next to 'Use port 80 and 443 as alternatives for incomming connections'
Now restart SKYPE for these changes to take effect.


How to Configure Team Viewer so it does not require port 80 or 443
Run TV
Extras -> Options -> Advanced -> Press the Advanced Button -> Advanced Network Connections
Check the checkbox saying [ Dont use incomming port 80 (recommended for web servers only ) ]

If the problem is not obvious then post the errors here

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: permissions problems
Posted by: edgam85 (---.range86-157.btcentralplus.com)
Date: November 26, 2013 03:39PM

Right some good news, check the log and adjusted a small error on apache and now the icon turned green.

localhost page is coming up what has done before.

I haven't done all the instructions yet, up to myphpadmin. Which file do I need to changed on the

<?php

/* Servers configuration */
$i = 0;

$cfg['blowfish_secret'] = 'a8b7c6d'; //Change this to something else

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

// Remove the Configuration storage warning about pmadb
$cfg['PmaNoRelation_DisableWarning'] = true;
/* End of servers configuration */

?>

Is it C:\wamp\apps\phpmyadmin4.0.4\config.inc.php ?

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: November 26, 2013 05:43PM

YUP

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: permissions problems
Posted by: edgam85 (---.range86-139.btcentralplus.com)
Date: December 04, 2013 04:09PM

hi

This is now getting really frustrating

I changed the password on the phpmyadmin on all account and then click refresh and get message


MySQL said: Documentation
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

tried changing on the server to false on password but not working

Who ever does wampserver 2.5, please tell them to getting all the settings correct, so we don't have to do this!!!!!

Thanks for your help

Re: permissions problems
Posted by: edgam85 (---.range86-139.btcentralplus.com)
Date: December 04, 2013 04:12PM

actually just got it working

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: December 04, 2013 04:16PM

You have to login again but this time using the new password you setup on the account.

So I assume if you added a password to the 'root' superuser account, you would now use

username = root
password = new password


Possibly a CTRL+F5 on the browser might clear any confusion it may have got into.


PS, Whats WAMPServer 2.5?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: permissions problems
Posted by: edgam85 (---.range86-139.btcentralplus.com)
Date: December 04, 2013 04:31PM

I mean when one gets release

it doesn't work, only works when I add a password to config.inc

otherwise I follow all the instructions on Wampserver 2.4 and still get the same message when I preview the work

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

( ! ) Fatal error: Unknown: Failed opening required 'C:/wamp/www/cosmo_shop/index.php' (include_path='.;C:\php\pear') in Unknown on line 0

what shall I do next?

Re: permissions problems
Posted by: edgam85 (---.range86-139.btcentralplus.com)
Date: December 05, 2013 09:50AM

????????

Re: permissions problems
Posted by: RiggsFolly (---.as13285.net)
Date: December 05, 2013 09:54AM

Thats not one of PHP's most helpful messages.

Look at the apache error log and the php error log at messages that appear around that one and see if that gives any clues.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Sorry, only registered users may post in this forum.