Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 .. 24 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Matrix Lady
|
Posted - 2009.05.14 01:56:00 -
[211]
done code downloaded and now i make my install thx One more question because i am noob on this and i can find other information.. i want my user to register on my site (this done)
It is possible with yapeal when my user is register and put the api key, this key save it on database for future use from user? is that easy? and if how can do it?
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.05.14 02:19:00 -
[212]
Glad to hear you've got it now.
Quote: It is possible with yapeal when my user is register and put the api key, this key save it on database for future use from user?
Any users, chars, corps that you add to the util.RegisteredUser, ...char, ...corp tables and is active Yapeal will get their info once you have the crontab setup but since Yapeal is made as a library for other developers to integrate into their own applications we haven't include anything to do that directly except for a single test user that you can do during setup for your own testing to make sure it's installed correctly.
You should be able to find some more info from some of the other posts in this thread and comments in the issues and on the wiki that should help you more with Yapeal. You can also look at the code which is generally will commented IMHO anyway . You might also look through the stuff in the docs directory by browsing in the source code tab. I will say that much of it is meant more for a programmer then for an end user since Yapeal isn't an application but a library
-- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Matrix Lady
|
Posted - 2009.05.14 20:48:00 -
[213]
Edited by: Matrix Lady on 14/05/2009 20:49:04 know THAT BECOME embarrassing to ask but I am a new to all this I want to make a small start to use this api library and i now my next question is stupid but I do not know where to begin.. so any help with this start on me i would appreciate it very much Let's say I have a .html page Blank and i need to see what characters i have in my account,so i have the id and api key after? Let's say I have one 2 textboxs one for id and one for api key, what code i need to pull out the data from yapeal and show in my blank web page after that explain i now where i start thank you.
|
Satis Iqulenax
Amarr Free Imperial Vikings
|
Posted - 2009.05.14 21:54:00 -
[214]
Originally by: Matrix Lady Edited by: Matrix Lady on 14/05/2009 20:49:04 know THAT BECOME embarrassing to ask but I am a new to all this I want to make a small start to use this api library and i now my next question is stupid but I do not know where to begin.. so any help with this start on me i would appreciate it very much Let's say I have a .html page Blank and i need to see what characters i have in my account,so i have the id and api key after? Let's say I have one 2 textboxs one for id and one for api key, what code i need to pull out the data from yapeal and show in my blank web page after that explain i now where i start thank you.
Well you need to add some php code to get it to work. the first page you make the form and on the other page you use php codes to insert the data to the database in utilRegisteredUsers, utilRegisteredCharacter and utilRegisteredCorporations.
You might want to look at my code I use for the test character section. goto install/inc/config in your yapeal dir and then have a look at configapi.php, char_select.php and goapi.php this files holds the code I used to create a test character and it should be easy to convert them over for your own needs :)
Hops this helps.
Kind Regards Satis ---- Yapeal Developer Member Yapeal Setup Creater |
Matrix Lady
|
Posted - 2009.05.16 23:26:00 -
[215]
i have a small problem i try everything but nothing.. i make install on my mac zend studio and zend server all is ok with this i make install yapeal all ok until login screen.. when i put my pass or no pass or everything i try say login fail. php.ini is ok i take like this errors
/usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 52 [17-May-2009 02:20:43] PHP Notice: Undefined index: password in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 39 [17-May-2009 02:20:43] PHP Notice: Undefined index: yapealsetup in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 40 [17-May-2009 02:20:43] PHP Notice: Undefined index: password in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 52 any help on this thx..
|
Satis Iqulenax
Amarr Free Imperial Vikings
|
Posted - 2009.05.17 14:04:00 -
[216]
Originally by: Matrix Lady i have a small problem i try everything but nothing.. i make install on my mac zend studio and zend server all is ok with this i make install yapeal all ok until login screen.. when i put my pass or no pass or everything i try say login fail. php.ini is ok i take like this errors
/usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 52 [17-May-2009 02:20:43] PHP Notice: Undefined index: password in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 39 [17-May-2009 02:20:43] PHP Notice: Undefined index: yapealsetup in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 40 [17-May-2009 02:20:43] PHP Notice: Undefined index: password in /usr/local/zend/apache2/htdocs/testdb/install/inc/config/login.php on line 52 any help on this thx..
okay first off. I have fixed those notifications that you got. so new release in the trunk.
Second be sure that you have cookie turned on or else it wont work. another thing to check is in the database. go into utilConfig and see if there is a row with Name: password if it has that, check if it's empty. the password field may not be empty at all, not even if you have added a blank password, since it still convert the blank password into a hash string.
Another thing dragonaire and I talked about, might be that you are running it on a mac + on a zend studio since we don't know if that can run it properly, but we might be wrong about that.
Try it out and please give us a hint if it's working.
Kind Regards Satis ---- Yapeal Developer Member Yapeal Setup Creater |
Asimina
|
Posted - 2009.05.19 00:38:00 -
[217]
i am matrix from up post:) so i try that yoi say on up post and i have the same results.. this time i try it on windows with zend server.. i make the installation all is green and ok on install when i go on login screen i take again the same error. i check the UtilConfig you say and i take this results from there and i hope help you.. i dont find any row with password inside.. the 2 Rows i find is Name and Value
utilconfig Table comments: InnoDB free: 11264 kB
Field Type Null Default Comments Name varchar(90) No Value varchar(255) Yes NULL
Indexes: Keyname Type Cardinality Field PRIMARY PRIMARY 8 Name
Space usage: Type Usage Data 16,384 B Index 0 B Total 16,384 B Row Statistics: Statements Value Format Compact Rows 8 Row length ° 2,048 Row size ° 2,048 B Creation May 19, 2009 at 03:26 AM
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.05.19 02:45:00 -
[218]
My suggestion is try it with PHP 5.2.x or better and only with the extensions it needs to run. I'd also suggest looking through the install and troubleshooting info in the Yapeal wiki and see if that doesn't help you figure out where it's going wrong better. If that doesn't seems to help with your problem we'll probably need you to send us some some of your log files so we can figure out better where the problem is. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Grandolfer
JotunHeim Hird Mostly Harmless
|
Posted - 2009.05.22 08:28:00 -
[219]
I see that you need the api key(s) and userid from EVE for this.. I have this, but in another db. Is it possible to make YAPEAL fetch that data from another db/table instead of yapeal.utilRegisteredUser and yapeal.utilRegisteredCharacter Gr34tB4ll$ |
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.05.22 11:15:00 -
[220]
Grandolfer The DB name can be anything you want so you can install Yapeal so it just adds it's tables to your existing DB if you want. If you look in the inc/common_db.php file you'll find the main functions that are used to do the queries to the DB. To use different tables in the DB for the userID, ApiKey etc you would have to modified the queries there and it should work The only problem would be when we put out new versions of Yapeal you would have to modify them again. A better way might be to make a view in MySQL to map your exist table so it overlays (renames) the table/columns that it wants but to tell the true I'm not sure if/how well that might work as I've never tried something like that and I am not a DB guru so don't know if that would work or not Maybe someone else will have some ideas about this also and share them with us. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.05.28 13:14:00 -
[221]
Hi everyone just thought I'd update everyone on some stuff we've been working on. Finally after many requests and a long time coming I've added the Starbase Detail API. This makes what I consider the 'core' APIs complete now.
This means that any other APIs that get added by me will probably only get added if I find I need it for any of the other projects I'm working on that use Yapeal. I'll still be adding and improving Yapeal as I get time or I get inspired to work on something but doing so will take a backseat to other things for now. As always I will continue to fix any bugs that get found or reported. Hopefully other people will decide to write and share some of the missing APIs with the project as I would like to see Yapeal have all the APIs implemented and be truly complete.
Since I've said something about working on other projects I'll tell you all about an old project that has come back to life that in part was why I made Yapeal to start with. It's called EMPA and is now currently it a very early alpha state of development by part of the development team of Yapeal plus a couple others. We're now working on the core framework which we should have to a usable state in the near future but everyone is welcome to download it and try it out but be warned it's in a rough state and subject to regular major changes and probably more than a few bugs I'd like to thank Satis Iqulenax and the others who have took up the project and really got it going again. I will probably also be working on some other small projects related both to Yapeal and EMPA but none of them are complete enough to talk about yet.
revision 786 -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
DrefsabZN
Caldari Butterfly Effect Corp.
|
Posted - 2009.05.28 13:27:00 -
[222]
Thanks for the update Dragonaire, I've been playing with EMPA the other day (was looking for something similar to out of eve seeing that doesnt seam to be an active project any more). I definatly like where this is going and just wanted to say thanks for all the hard work.
|
Dirty Snipe
|
Posted - 2009.06.04 07:53:00 -
[223]
I just tried to follow the migrate instructions as I am already using another version of yapeal.
3. Use the install/Yapeal.sql
I cannot see this file. I also checked the svn and it also is not located in install/
I cant find it anywhere.
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.06.04 14:47:00 -
[224]
To Dirty Snipe and others that have tried to use the upgrade instructions in Updating.txt I'd like to apologize for the confusion they have been causing. Those instructions were for some changes we made back sometime in the revision 400-500 range and does not work for more current revisions. As often seems to happen during development the documentation doesn't also get updated when it should. As you noticed we have removed all the SQL files from Yapeal now that we've switch it to using the newer AXMLS system to do database updates in a semi-automatic way. To help people determine which revisions need to do what and what resources they (i.e. addition older files needed etc.) we'll try to put together something on the wiki to help out in the next couple days. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
lillitheve
Lupus Draconis
|
Posted - 2009.06.05 02:14:00 -
[225]
Ok, maybe I am missing something, or maybe I've read too many of the posts in this thread. I looked through the two files, configapi and goapi and not sure what I need to put in there or where...second, and it might be related, if you enter something in the test char section, does the test char data not get put into the DB? Lupus Draconis Home |
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.06.05 04:52:00 -
[226]
lillitheve try just installing/copying Yapeal to your web server and browse to the url for install/setup.php once you've done that you'll want to try running yapeal.php from a command line so that Yapeal populates the database tables with the data APIs you have set active during setup. Once that seems to work right you'll need to create a crontab/scheduled task to run it every minute. For more details refer to the wiki pages from the project's home. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
lillitheve
Lupus Draconis
|
Posted - 2009.06.05 13:08:00 -
[227]
ok, well been trying that, the setup went beautifully, as far as I can tell, have lots of tables, but no data in them. I am using godaddy hosting for my webserver.. It appears that the php5 is being run through the cgi not a true command line, so the cron job outputs this:
Quote:
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking Content-type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http:www.w3.org/TR/xhtml1" xml:lang="en" lang="en"> <head> <title>Yapeal is not a web application</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head> <body> <h1 style="font-size: xx-large;color: #ff1010;">USER ERROR USER ERROR USER ERROR</h1> <p> If you are seeing this you have tried to run Yapeal as a web page which is incorrect. Yapeal is made to <b>ONLY</b> ran from the command line. See the <a href="http://code.google.com/p/yapeal/w/list">Yapeal Wiki</a> for more information on using it. </p> </body> </html>
trying to run it through ssh on putty gives me this:
Quote: <b>Parse error</b>: syntax error, unexpected '{' in <b>/home/content/g/w/y/gwyndion/html/yapeal.php</b> on line <b>101</b><br />
any ideas on how to get it to work?
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.06.05 13:54:00 -
[228]
Have a look at this article http://help.godaddy.com/article/1083 and look around at some more of their help about the path you may need to use to run the PHP5 CLI since it looks like they are like most hosting places and have the PHP4 version in your path by default instead of 5 Also look at the old issues at Yapeal's web site as there was some pointers there for how someone worked around a similar problem at another hosting. |
lillitheve
Lupus Draconis
|
Posted - 2009.06.05 22:03:00 -
[229]
well, after plugging away at it, I never did get it to work on their hosting. Tis unfortunate, as it would be a good foundation for what I wanted to do. Hopefully, there will be a way that you can get it as a web access, instead of an application in the future, in the mean time, I will just quietly follow the progress to see where it goes. Thanks for trying dragon Lupus Draconis Home |
Satis Iqulenax
Amarr Free Imperial Vikings
|
Posted - 2009.06.06 03:39:00 -
[230]
Originally by: lillitheve ok, well been trying that, the setup went beautifully, as far as I can tell, have lots of tables, but no data in them. I am using godaddy hosting for my webserver.. It appears that the php5 is being run through the cgi not a true command line, so the cron job outputs this:
Quote:
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking Content-type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http:www.w3.org/TR/xhtml1" xml:lang="en" lang="en"> <head> <title>Yapeal is not a web application</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head> <body> <h1 style="font-size: xx-large;color: #ff1010;">USER ERROR USER ERROR USER ERROR</h1> <p> If you are seeing this you have tried to run Yapeal as a web page which is incorrect. Yapeal is made to <b>ONLY</b> ran from the command line. See the <a href="http://code.google.com/p/yapeal/w/list">Yapeal Wiki</a> for more information on using it. </p> </body> </html>
There is a way to use yapeal with that conjob you have, but you will need to disable that error test. This how you do it: open yapeal.php in a text editor and goto around line 85. there you will see an function triggered with the name: notAWebPage(); just add 2 / in front of it to disable that check, like this: //notAWebPage(); Now you can run it in a web browser as well.
I uses this hack on yapeal in the project EMPA that Dragonrun, stephen12, wengole and I are doing right now. I had to make that hack, since my web host also don't have a real CLI cronjob.
Hope this helps ;) |
|
lillitheve
Lupus Draconis
|
Posted - 2009.06.06 15:38:00 -
[231]
yes! that worked...now using the hack from another api puller to give id's friendly names, and then to design a php document to list things in a table, I'll have the corp asset items plugged into my smf forum in no time (no time being figurative for a very long time, but a step in the right direction) Lupus Draconis Home |
Cory Sopapilla
Minmatar
|
Posted - 2009.06.11 18:59:00 -
[232]
Very nice tool. Thanks for sharing it.
The docs could definitely use an update though ;) I just kinda hacked it together after figuring out I needed to run the setup.php script thru a browser, did the "test character" thing and found it actually populated something in the DB after trying to find the config file to enter users/API keys, and finally realized it had put my limited API key in the full API field. After that it was all working.
So, 2 questions: 1) It didn't seem to work with just my limited key. Does it really need the full access key? It also kept saying I didn't have the proper role to pull some of the data (I'm CEO so that's not right). 2) Any plans on adding eve-central market pulls? Currently I pull the entire daily dump and spend about 20 hrs deleting duplicate orderIDs in a script. I'd love to be able to just pull the pieces I want and shove it in the DB ;)
Thanks!
|
Dragonaire
Caldari Corax. Sex Drugs And Rock'N'Roll
|
Posted - 2009.06.12 06:21:00 -
[233]
Quote: It didn't seem to work with just my limited key. Does it really need the full access key? It also kept saying I didn't have the proper role to pull some of the data (I'm CEO so that's not right).
Many of the APIs do require the full APIkey so Yapeal just assumes that what you gave it. As you've noticed it doesn't really matter if you are CEO or not some things just need the full key to work.
At some point we might add Eve-Central data as well but I'm busy with new job right now and the rest of the team and I are working on EMPA which uses Yapeal for it's backend API stuff. That doesn't leave much time to add new stuff right now
I am still try to get around to updating the docs so they are more current but not sure when I'll get that done. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Nick Partridge
|
Posted - 2009.06.16 19:48:00 -
[234]
Just wondered, I had a problem on my server and had to reinstall yapeal.
However now I keep getting the error Failed map.xml file was not found or a bad XML file
I have tried to svn download, copy and paste the file etc, but it continues with same error.
Any ideas ?
|
Johnathan Roark
Caldari Quantum Industries RAZOR Alliance
|
Posted - 2009.06.16 21:12:00 -
[235]
Originally by: Nick Partridge Just wondered, I had a problem on my server and had to reinstall yapeal.
However now I keep getting the error Failed map.xml file was not found or a bad XML file
I have tried to svn download, copy and paste the file etc, but it continues with same error.
Any ideas ?
look in the install/ folder and see if you have a map.xml file
Vuk Lau for CSM 3.0 |
Nick Partridge
|
Posted - 2009.06.16 21:18:00 -
[236]
Yup it is there. I tried to replace it witha fresh download. I opened the file deleted contents and filled it with the online file in yapeals downloads.
Tried restoring an old version on the PC.
All still have same error. :-(
|
Johnathan Roark
Caldari Quantum Industries RAZOR Alliance
|
Posted - 2009.06.16 22:41:00 -
[237]
Edited by: Johnathan Roark on 16/06/2009 22:42:22
Originally by: Nick Partridge Yup it is there. I tried to replace it witha fresh download. I opened the file deleted contents and filled it with the online file in yapeals downloads.
Tried restoring an old version on the PC.
All still have same error. :-(
Make sure your actually has permission to read it, normally www-data group or something like that and chmod g+r,u+rwx map.xml |
Nick Partridge
|
Posted - 2009.06.17 09:46:00 -
[238]
Hiya, thanks for your reply. I have tracked down the problem. I still had Map tables in the DB. Unlike the other tables for some reason the install script wont run unless you remove the tables and it can install them from scratch.
Now I am trying to resolve a new issue, which has been a cause of the svn and the weird server changes that have occured.
Quote: Notice: Yapeal version 779 (beta) 2009-05-21 15:16:39 in /home/nickph/yapeal2/inc/common_backend.php on line 54
This ones new :-)
|
Dragonaire
Caldari Corax.
|
Posted - 2009.06.17 15:31:00 -
[239]
Hi looks like you solved your problem but thought I'd comment on the part about deleting the tables so the installer would re-create them. You shouldn't need to do that if you use the update part of the installer as it was made just for that. Only case where it will have problems is if you have a very old version of the tables that it doesn't understand in which case you might have to delete them so it can rebuild them correctly. |
Nick Partridge
|
Posted - 2009.06.25 10:21:00 -
[240]
Edited by: Nick Partridge on 25/06/2009 10:22:34 Yeah you most liely right, I was stuck by vertue of the fact all the tables were corrupted that Yapeal uses so nothing worked at all :-)
|
|
|
|
|
Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 .. 24 :: one page |
First page | Previous page | Next page | Last page |