Quote:
Code:
eqemu@debian:/var/www/phpeditor$ ls -al |
I was able to get it working by turning off sql logging, so that is where the problem is...
|
I wonder if the problem may be that root owns your parent directory (www). Only guessing at this point.
What is inside your logs folder? Can I get an ls -al from there? |
There is nothing inside the logs folder and I had to create that folder myself. I may be wrong but I believe that www folder was part of the debain deployment, so maybe that is the problem. I could change ownership of it... Let me try that.
|
Oh sorry ls-la... yeah it looks like this...
Code:
eqemu@debian:/var/www/phpeditor/logs$ ls -la |
That didn't help :( I would run it with logs off, but it seems that the commands don't execute unless the log is written.
Code:
eqemu@debian:/var$ ls -la |
Quote:
|
Quote:
|
I just created a debian 7 VM and the default for that folder is owned by root and the chmod is initially set low. I recommend setting /var/www back to root:root with a chmod of 0777. Then, any folders inside can be 0755 while the files are 0644 and should be owned by (in your case) eqemu:eqemu. See if that works.
|
Quote:
I changed www back to 777. You're saying that phpeditor should be 755, so I will try that. |
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:
|
field191 and field192 were renamed, the Editor just hasn't caught up to that change yet:
https://github.com/EQEmu/Server/pull/184/files |
This is fixed in the editor source now. Not all new fields are supported yet, though.
|
Hello Everyone,
i am using a Apache 2.2.x with PHP 5.3.x and i am trying to run the PEQ PHPEditor 2014/10/11, which i have downloaded from this location: https://drive.google.com/folderview?...p=sharing#list I have configured my "php.ini" as it have been told in the "readme.txt": error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT short_open_tags = On I can access the Editor over the Webbrowser and getting the "Login" -Screen. If i log myself in, the php starts to work, connects the Database, finds my Account and identifies my Password as correct, but the Output i get is the "Login" -Screen again. There are no "Error" - Messages or -Logfiles, which would give me a hint. Maybe Someone has an Idea why i cant get it run correctly ? Edit: The ".htaccess" -Files set correctly and when i use wrong Logindata i get a Query-Error-Log. |
What does your config file look like (omit passwords).
Check your logs directory, apache access/error logs, and php error log for any other hints. |
This is my "config.php" of the PEQ PHPEditor:
Code:
// Database Information: Code:
xxx.x.xxx.xxx - - [19/Jan/2015:19:09:43 +0100] "GET /eqeditor/index.php HTTP/1.1" 200 1704 (Sorry i needed so long, but i got a phone call ...) |
I have made a Alias to my private Domain to Access over the Internet the PEQ PHPEditor, because i would like to work from everywhere with this tool.
Code:
Alias /eqeditor "D:/Webserver/Domain/www.eqemulator.de" Code:
xxx.x.xxx.xxx - - [19/Jan/2015:19:09:52 +0100] "POST /eqeditor/index.php?login HTTP/1.1" 302 Anyone an Idea how i could correct it ? P.S. I will research myself, but maybe someone had already the same Problem. |
The Error is between the Ears ...
I had disabled the Cookie Session in the "php.ini" -File, thats why i couldnt log into PEQ PHPEditor.
The "hijacking" -Error 302, repoted by Apache itself, is only a side effect, which happens when the Editor hasnt found a available Session. Then the Tool resets the Connection by using a "header(location: index.php)", which delivers by default the State 302. Indicators for Coockie Session's are inactive: 1. You could access the Tool via Webbrowser 2. You could enter your Logindata 3. You dont get any Query-Log-Error in Logpath of the Tool 3. The Apache-Access-Log shows something like this: Code:
xxx.x.xxx.xxx - - [20/Jan/2015:00:15:25 +0100] "POST /eqeditor/index.php?login HTTP/1.1" 302 - Edit: Thanks to Joligario, whitout his hint i wouldnt have found the Problem that fast :D |
Our merchants have a strange bug, and i'm having a hard time finding a spot in the db editor that might be able to fix it.
If you sell an item with charges, they will immediately sellback that quanity in charges. Ie, you sell a 10 charge potion, they sell back 10 fully charged potions. You sell a 6 charge, they sell back 6, and so on. I've searched all over the editor and cant find anything, would that be something deeper? Any recomendations or anyone had the same issue? |
Quote:
|
That happens too but im not so concerned about the recharge.
The item itself is actually duplicated in the sellers window. So if its a ten charge item, then its duplicated 10 times. Each item with full charges. |
Suggested readme update
I would like to suggest updateing the readme to include setting the following in the php.ini
Code:
session.use_cookies=1 (And yes I did search the boards but apparently I was not using the correct keywords to find anything meaningful.) |
Actually, those are the default settings anyways (http://php.net/manual/en/session.configuration.php). As a side note, I have use_only_cookies set to 0 and it works fine.
|
having problem when I went to the page it said login disabled but I tried to login anyway now I just have a pic saying don't panic.... well I am panicking!!!
|
Check again. Does it say Guest Mode is disabled?
At the Don't Panic page, are there tabs along the top like NPCs, Tasks, Accounts, etc.? What does it say in the url? Did you follow the readme step by step? |
I can't get to any other screen now but I remember it saying guest mode was disabled. I'll post a pic of it when I get to a pc
|
All times are GMT -4. The time now is 05:27 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.