PDA

View Full Version : set permissions



Aldegunde
04-19-2011, 07:24 PM
Hi all ,

could someone tell waht exactly mean these two points during installation intructions?:
6. Files should have permissions set to 644 and folders should be set to 755,
except...
7. Set `/cache` and its sub-folders to 777

My first installation dosent works and I´m not sure if it is linked with these permissions.

Thanks in advance.

mabujo
04-19-2011, 08:41 PM
Hi all ,

could someone tell waht exactly mean these two points during installation intructions?:
6. Files should have permissions set to 644 and folders should be set to 755,
except...
7. Set `/cache` and its sub-folders to 777

My first installation dosent works and I´m not sure if it is linked with these permissions.

Thanks in advance.

Yes it is quite possible to do with you having not set the file permissions.
Read up on UNIX file permissions. Here's the first link from google : http://www.dartmouth.edu/~rc/help/faq/permissions.html

Aldegunde
04-19-2011, 08:46 PM
Hi mabujo, thanks for your reply, I´m so new on this issues. This must be done on the server or on any PHP page? I was installing my first Hotaru on my locallhost.
Thanks again

mabujo
04-19-2011, 08:48 PM
They are permissions that you apply to the files themselves on the server.
In your case 'the server' refers to your localhost. You can use the chmod command to set permissions to files and folder on linux.

I don't use windows so if you're on WAMP I can't help you. Google for WAMP file permissions or something.

Aldegunde
04-19-2011, 08:49 PM
I´m actually having this msj:
Warning: Table 'hotaru.mag_settings' doesn't exist in C:\wamp\www\hotaru-1-4-2\libs\extensions\ezSQL\mysql\ez_sql_mysql.php on line 257

Notice: Use of undefined constant DB_CACHE_DURATION - assumed 'DB_CACHE_DURATION' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 279

Notice: Use of undefined constant DB_CACHE - assumed 'DB_CACHE' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 282

Notice: Use of undefined constant DEBUG - assumed 'DEBUG' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 300

It looks like instalation is not done becouse any table has been created on the db hotaru. Not sure if I must to force start the file inside install folder.

Aldegunde
04-19-2011, 08:50 PM
So I must suppose I have to find any place on wampserver to change or at least check these permissions, I will see it.

mabujo
04-19-2011, 08:53 PM
I´m actually having this msj:
Warning: Table 'hotaru.mag_settings' doesn't exist in C:\wamp\www\hotaru-1-4-2\libs\extensions\ezSQL\mysql\ez_sql_mysql.php on line 257

Notice: Use of undefined constant DB_CACHE_DURATION - assumed 'DB_CACHE_DURATION' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 279

Notice: Use of undefined constant DB_CACHE - assumed 'DB_CACHE' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 282

Notice: Use of undefined constant DEBUG - assumed 'DEBUG' in C:\wamp\www\hotaru-1-4-2\libs\Initialize.php on line 300

It looks like instalation is not done becouse any table has been created on the db hotaru. Not sure if I must to force start the file inside install folder.

Change the folders to the proper permissions and then see what happens.