open All Channels
seplocked EVE Technology Lab
blankseplocked Yapeal PHP API library (revision 1203 branches/keys/)
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : ... 9 10 11 12 [13] 14 15 16 17 ... : last (24)

Author Topic

KtoJest
Minmatar
Silkroad Partners
Posted - 2009.11.16 20:56:00 - [361]
 

you've got a headstart on me. started with mandrake and then joined suse in v8.0. had always used kde until opensuse v11.1. i think it was kde v4+ that broke my sound so i went gnome and retro to suse v11.0. maybe it's time to look at 11.2

http://www.zyra.org.uk/os-air.htm - great analysis :)

by the way, i've referenced Yapeal on a small eve blog, recently started. seems to be getting some hits. :)

http://evegamer.ch/caveat-emptor/sandbox under the 'eveAPI Trader Project -RollYourOwn' post.

the best-

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.11.17 05:22:00 - [362]
 

First, thanks for the kind words and that's an interesting looking Blog you've got started there I've BM it and will try to keep up with it. Wink

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.11.19 19:21:00 - [363]
 

Edited by: Dragonaire on 20/11/2009 18:51:54
New 'alpha' installer versions of Yapeal are available for testing in downloads. DON'T use any of these for production servers yet but do need feedback from anyone that tries them.

Ok here's a little more detail about stuff and the easiest way to do that is to do a quick walk through.
This will be for the GIU version of it but the step in the CLI will be basically the same.

  • Start by download the install for your platform from downloads

  • Once you have it run it. On Linux you may need to set the 'x' attribute on the file first.

  • In a few seconds you should get a welcome screen, press next

  • Next there will be a couple license page that you need to click on the 'I accept the agreement', then Next

  • Now you get a page that will allow you to enter the path to the CLI version of PHP. It should have a likely location already in it and for Linux shouldn't need to be changed except at some outdated hosting sites where the default will probably PHP4 and you'll have to find where they are hiding PHP5. On Windows you're a little more on your own since there really isn't a default location to install stuff Razz On either once you think you've found it click Next and the Installer will run some tests and let you know if there's any problems with the one you've selected. If you can't find a CLI version of PHP5 try the CGI version as it should also work but is not the best for running Yapeal.

  • Now we get to a page with 1 or 2 options where you have to decide what kind install you want. If you are either 'root' on Linux or 'Administator' on Windows you have an option between Personal or System install. If you on a hosting site or just testing 'Personal' is probably what you'll want. If you are the hosting administrator and install for others to use then 'System' might be what you want. If you do decide to do this please contact me as there is some additional information you'll probably need to make this work for everyone.

    Now the second part asks about the style of install and you have 3 options. For now only the first two options work. The third option 'Web' is under review and may be dropped but has been left for now and should not be used as it is untested and probably won't work. Choosing between 'Advanced' and 'Legacy' comes down to how many questions you want to answer and if you want/need to change anything in the yapeal.ini beyond the main database settings. Most people should probably use 'Legacy' but if you use to have to make changes to yapeal.ini before with the old installer go with 'Advanced'.

  • The next page let's you choose where to install Yapeal and except if you know you want it some place else go with the default that it already has set.

  • Next is where you enter the information for the basic database settings. If you are installing this version at the same location as a previous install it should have filled everything in with the settings from your current config/yapeal.ini file and you can just click on Next but if this is a fresh install you'll probably need to change at least the username and password. Also if this is a fresh install all the settings will be the same as found in the config/yapeal-example.ini.

    When you click on Next the installer will check if the database exists and that the user has the correct privileges to access it. If there are any problems it will give you a warning and let you change your settings until it works. Note that the database doesn't have to already exist as long as the user has the correct privileges it will be created during the install.



Continued ...

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.11.20 19:00:00 - [364]
 

... Continued

  • If you choose 'Advanced' before you'll now have several more pages where you can change other settings that can be found in yapeal.ini which like the last page will default to either your current config/yapeal.ini or the ones from config/yapeal-example.ini

  • Now it is ready to actually unpack everything and put stuff where you told it to which will take only a minute or so. If the database doesn't exist it will also be created for you.

  • The last page gives you an option to view the very outdated README file and your instill should be done and you can start testing/using it.


I'll try to get a more complete walk through done on the wiki or hopefully someone will offer to make one for me Wink If you're interested please contact me.

Also please report any bugs/problems you have so I can look into them.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.11.27 10:13:00 - [365]
 

I thought I'd let everyone know I've been working on a new branch for Dominion and I've added the new APIs for char and map sections already but will wait to release it until after I had a chance to do a little testing before merging it into trunk/. I should be done with it within a couple days after the API servers come back up from the Dominion release. I'm going to wait until the final release notes to see if I need to change any of my caching code to deal with the new ideas they are talking about use with some of them. I don't think it will really effect Yapeal much because of how it works but time will tell.

Morgenholt Blue
RED.Legion
Posted - 2009.11.29 11:41:00 - [366]
 

I would like to make a suggestion.. nothing big or feature wise just something to hopefully make it work better.

In yapeal.php

To determine if it is a browser or the command line running the script you are currently doing

if (PHP_SAPI == 'cli')

Now this might always return the same thing depending on how the server is setup.
So I recommend you change it to:
if ($_SERVER['SHELL'] != NULL)
From what I have see this will return something like "/bin/sh" if it is the command line and browsers will return null.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.11.30 01:35:00 - [367]
 

Where it's using that it has to be the CLI SAPI and doesn't make sense to check any other way. Only times that's used is when running CLI and passing in params to it otherwise it only pays attention to it when deciding if it should also output log messages to the terminal or not. I believe with your way it would run into problems under Windows since $_SERVER['SHELL'] isn't set there outside of when using CGI in web server. The method I use is what is recommend by the people that wrote PHP.

Morgenholt Blue
RED.Legion
Posted - 2009.12.01 18:24:00 - [368]
 

There are other variables that it would output any ways if you don't want me to suggest things for compatibility then I wont. Just saying that some servers will return the same thing whether it is run by the CLI or via a browser.

I looked it up on the PHP website to:
http://www.php.net/manual/en/function.php-sapi-name.php#89858

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.01 18:27:00 - [369]
 

Ok I've had a chance to try my Dominion branch and seems to work after a couple minor fixes so I've merged it into trunk. You'll probably have to add the new API names into your utilRegisteredCharacter tables manually as I'm not updating the old installer for them since I'm hoping to have it replaced soon(tm). Same goes for new SovereigntyStatus table in map section. It should add/update all the tables right but let me know if it doesn't.

revision 935

Redick
Minmatar
Nex Exercitus
IT Alliance
Posted - 2009.12.02 00:34:00 - [370]
 

Is there a list of "new API's" supported by this version of Yapeal that we can manually add? I can't seem to sort out which are new and which are old.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.02 05:29:00 - [371]
 

You can look at this DevBlog for more info on the new APIs but I've also update the wiki page for Yapeal with the new ones that have been added. Of course there's also info on them at http://wiki.eve-id.net/APIv2_Page_Index as usual. Basically they added 4 new ones and changed 2 others and one of the updates didn't effect Yapeal at all because somehow that field was already missing in the StarbaseDetail API Embarassed and had never been caught by anyone.

Rottw Adleweh
Posted - 2009.12.02 09:57:00 - [372]
 

What is the easiest way to update yapeal?

To install it on my server I used an export of the SVN as I can't use any of the installers on my Unix box.
I used the setup.php in the installer directory to get the database sorted out, but how can I now get the new API tables in the current database and if I again export the svn can I just copy it over the existing dir?

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.02 17:27:00 - [373]
 

Just do a svn up then svn export --force over the old copy should work fine as that's how I usually do it during development also Wink To get the new tables into the DB you should be able to just run install/setup.php again and it'll update/add the tables for you. If for some reason it doesn't seem to work let me know and I'll look into it.

Quote:
... I can't use any of the installers on my Unix box.

Just wondering why you couldn't? In this case no one should be using them as they aren't updated yet for Dominion and are really in a ALPHA state anyway but I should have that fixed soon as well.

Rottw Adleweh
Posted - 2009.12.02 21:10:00 - [374]
 

Originally by: Dragonaire

Quote:
... I can't use any of the installers on my Unix box.

Just wondering why you couldn't?


Because FreeBSD doesn't run linux binaries out of the box. I can install linux compat, but don't want to install things I don't really need.


Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.03 05:47:00 - [375]
 

Ah Ok that make sense then. BTW if you would like I can have it build for that as well I think but didn't have anyway to test it on so didn't do so. Also didn't know anyone was running it on BSD either Smile Good to know it works on it as well though not surprised since both are very similar in most ways that count. If you'd like to give it a try send me a E-mail to my G-Mail account that you can get from the project and I'll send a build to to try.

Rottw Adleweh
Posted - 2009.12.03 07:24:00 - [376]
 

Nah, no need for the installer, works like this pretty well.

Something I came across during initial installation thought:

step 1: navigate to <yapeal-host>/install/setup.php
step 2: set initial database credentials
step 3: setup does creating all the tables and stuff and says its done
step 4: go back to <yapeal-host>/install/setup.php to check other things/update database
----- At this point you get a login screen, but the password has never been set.

I expected that the password thus was set to admin or so. But it turned out to not been set at all, so it is impossible to log on.

At first I simply disabled the line in the phpcode that checked the password and substituted it with a line that is aways true. That let me get through the setupscreen where you can set the password. For some reason it didn't work either, but it showed me that I had to set the password in the database, but the field doesn't initially exist. So it took a while to figure out where to set the pw and how to make sure I can login, because that wasn't possible until manually added a record called:
[password][md5(passwd)] in the utilConfig table.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.03 09:19:00 - [377]
 

Yeah I've ran into that as well. It seems to be using a blank password or something even if you don't set one. I've thought about trying to fix it but since I'm changing away from using setup.php etc and going to be doing most, if not all of that, in the new installer I've not bothered trying to find it. I'll have something else to use for those that still install Yapeal from svn in the future but it will be different and designed for an application developer to use during testing and to learn what they need to do to manage accounts in their own apps. I do not plan to have it be web based since Yapeal itself isn't directly. I'll probably design something for the command line that using some PHP classes that should be easy to integrate with a web application as well.

Labrena
Posted - 2009.12.03 21:08:00 - [378]
 

Edited by: Labrena on 04/12/2009 04:12:08
Updated to the latest version today.

Odd error now...

The corpWalletJournal and corpWalletTransactions are no longer pulling data, but the all the others are.

Tried moving / re-adding them, no luck. Any ideas?

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.04 15:54:00 - [379]
 

Are you still having problems? Both are working for me.

Labrena
Posted - 2009.12.04 18:23:00 - [380]
 

Edited by: Labrena on 04/12/2009 18:24:15
Yes, I checked this morning.

They are the only 2 that stopped pulling data. Last entry for them was before the server went down for the patch on Dec 1st. All of the others are updating.

I removed them, re-added them to active and still nothing.

I did a new install for another character/corp, and that one is working correctly.

But the mail one will still not pull the corp WalletJournal or WalletTransactions.

Also, I could not get the setup to add the 4 new tables for the new API's. I just copied them from the other table I setup through.

Seraphina Oriana
Clan Kielle
Posted - 2009.12.04 22:30:00 - [381]
 

Okay, I've just installed the latest version from the svn - I've got it installed, and I can see all of the database being successfully made, and it's now going to setup.php and telling me there's a database update, I click update, it says .

Progress
Database: Connecting To localhost Connected
Database: Update Tables From util.xml file Done
Database: Update Tables From account.xml file Done
Database: Update Tables From char.xml file Done
Database: Update Tables From corp.xml file Done
Database: Update Tables From eve.xml file Done
Database: Update Tables From map.xml file Done
Database: Update Tables From server.xml file Done
Database: Update yap_utilSections -> account Done
Database: Update yap_utilSections -> char Done
Database: Update yap_utilSections -> corp Done
Database: Update yap_utilSections -> eve Done
Database: Update yap_utilSections -> map Done
Database: Update yap_utilConfig Done
Update File: yapeal.ini Done
Database update is done.

And then when I click go to database settings, it tells me there's an update and the process loops.

Any suggestions?

Verchan Stoneheart
First Flying Wing Inc
Primary.
Posted - 2009.12.05 03:39:00 - [382]
 

Originally by: Labrena
Edited by: Labrena on 04/12/2009 18:24:15
They are the only 2 that stopped pulling data. Last entry for them was before the server went down for the patch on Dec 1st. All of the others are updating.

I removed them, re-added them to active and still nothing.



Ditto

Sraelon d'Phist
Posted - 2009.12.05 05:01:00 - [383]
 

Edited by: Sraelon d''Phist on 05/12/2009 05:18:35
Installed the latest (937) and I can't find a setup.php anywhere under the installation directory.

Also, even with a system-wide install under /opt, it's installing config directories under my home dir and so when I run yapeal, it can't find it's config file.

There also is no Api section generated in the yapeal.ini and the syntax isn't clear to manually do it.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.05 06:04:00 - [384]
 

Sraelon d'Phist - You're trying the new Alpha grade installer which doesn't use/have a setup.php. It hasn't progressed to the point of doing everything the regular Yapeal does during install. You need to add you character/corp info by hand to the tables etc. As to the problem it's having not finding yapeal.ini that's a bug and I'll have a fix out for it this weekend as it can also effect a svn install.

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.05 06:59:00 - [385]
 

Seraphina Oriana - You only need to run the update when you download a new version. It's not check anything or able to get any updates. That's only used when you install a new version over the old to let it update the old tables. The new installer will have that but the old doesn't. You don't have to keep updating it as it will just keep remaking the same tables. Just add your test char/corp and finish the install.

Sraelon d'Phist
Posted - 2009.12.05 07:23:00 - [386]
 

Thanks for the answer :) How can I get 935, or whatever version is operational? I don't see older versions on google code and svn is latest as well.

Thanks )

Sraelon d'Phist
Posted - 2009.12.05 07:31:00 - [387]
 

I looked at the SVN checkout and it DOES have setup.php....

So are there two versions of 937?

Also, when trying to use setup.php for the SVN version of 937, it's asking for a password, but this isn't set anywhere?

I can't login. Is there a place that has ALL the info needed to get this running?

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2009.12.05 07:38:00 - [388]
 

For those of you having problems with some of the tables not working it may be something I've just noticed. For some reason Yapeal seems to be using up to 10x more memory then normal at times.Shocked To see if that's causing your issue try upping the memory PHP allows and see if it works for you then. I'm looking into what's cause the memory increase and hope to have it fixed soon once I figure out the cause.

Sraelon d'Phist
Posted - 2009.12.05 07:53:00 - [389]
 

Yes, I'm a moron.

Thank you for not pointing that out :) It's installed and running.

Labrena
Posted - 2009.12.05 17:49:00 - [390]
 

Originally by: Verchan Stoneheart
Originally by: Labrena
Edited by: Labrena on 04/12/2009 18:24:15
They are the only 2 that stopped pulling data. Last entry for them was before the server went down for the patch on Dec 1st. All of the others are updating.

I removed them, re-added them to active and still nothing.



Ditto


I found the cause of this.

I was using a directors API key. Switched to the CEO's API key and it worked. Seems CCP goofed something with the API roles.


Pages: first : previous : ... 9 10 11 12 [13] 14 15 16 17 ... : last (24)

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only