So here is how I have it setup now
Code:
drwxrwxrwx 3 root root 4096 Aug 5 07:32 www Code:
drwxr-xr-x 11 eqemu eqemu 4096 Aug 7 09:38 phpeditor Code:
drwxr-xr-x 3 eqemu eqemu 4096 Nov 25 2013 logs Any type of edit gives me this error. I have also moved the log location around to directly into the peq/logs folder and I get the same result. For some reason php is not privileged... Could not create /var/www/logs/sql_log_08-2014.sql! Make sure the logs directory is writeable by your webserver. |
Ok, I think I'm understanding a little more with permissions. Apache is run as www-data on debian. Try these:
Code:
chown root:www-data /var/www |
I put in those changes but it didn't help. Would I need to restart anything for the changes to take hold?
Also, what port does this travel in on? I would like to be able to hit this editor remote. |
Sorry here is what we did.
Code:
eqemu@debian:/var/www$ ls -al Code:
eqemu@debian:/var/www/phpeditor$ ls -al |
Standard http is on port 80.
Not sure why it wouldn't be able to write if it is the owner... Try doing a chmod 0770 on just the logs folder. |
Quote:
770 didn't help either... |
I'm at a loss then. We must be missing something else.
|
This is using my tutorial right?
You followed step 22? http://wiki.eqemulator.org/p?EQEmu_o...n_7_Virtualbox I have it working with those steps, from start to end. I didn't need to chown the directory or anything., just chmod 777 (or 770 or whatever, 777 due to laziness and I never plan to forward port 80 so it's a LAN only accessible network spot). TECHNICAL STUFF FOLLOWING by default debian creates /var/www/ as the htdocs root default vhost entry. This is set inside /etc/apache2/sites-available/default file. files inside /var/www/ can be root and readable, since init.d for apache2 is ran as root and www-data (you can verify this by typing $ "ps aux | grep apache2" and note the left side for user executing the binaries.) |
Quote:
I believe you have a couple steps out of place in the latest update. The sudo nano line is followed directly buy a mkdir command rather than what you will do in nano. Just confusing, but I get what you want done here. 22 - Set up PHPEditor (optional) PHPEditor is a way to edit NPC's, spells, items, and many other aspects of the EQ database. It is recommended to set up for future editing, even if you use other tools along with it. First, we need to inject the schema file for phpeditor $ sudo mysql -u eq -p -h 127.0.0.1 eq < /var/www/phpeditor/sql/schema.sql Go to a web browser, access http://10.0.0.111/phpeditor/ It should note database is not configured. $ sudo cp /var/www/phpeditor/config.php.dist /var/www/phpeditor/config.php $ sudo nano /var/www/phpeditor/config.php $ sudo mkdir /var/www/phpeditor/logs $ sudo chmod 777 /var/www/phpeditor/logs change the dbhost, 127.0.0.1 dbuser change to eq password change to root db change to eq Refresh web page, should show prompt Log in as admin/password $ sudo chmod 777 /var/www/phpeditor/spells_us.txt |
Hey!
Does the PEQ Editor work with Angelox Database? Thx ;) |
Quote:
|
Ahh okey thx!
So what kinda editor works with Angelox? Just setting things up with my friend atm and we are trying to find out what to use. Any information is useful. Thank you =) |
If you compared their tables/columns to PEQ you could modify the editor to work. Not to knock on their DB but why use it over PEQ?
|
We are going for the classic everquest, and from my understanding PEQ is missing a lot of that. Lavastorm CT etc.
|
Hey guys, the editor is pretty amazing and I'm loving the easy-to-use nature of it all.
I am experiencing a problem with the spell copy function though. When I try and copy a spell I get the following error: Quote:
|
All times are GMT -4. The time now is 04:50 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.