Jump to content

pjvleeuw

Members
  • Posts

    15
  • Joined

  • Last visited

pjvleeuw's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. To get things moving I requested java (here http://www.helionet.org/index/topic/12050-request-for-java-pjvleeuw ), because it might have been on on a previous account which expired... If anyone has WAR files successfully working: could you please explain to me how/where to upload my WAR file (lets say 'example.war' containing '/index.jsp') and with what URL to access it. E.g. should I put example.war in public_html and would the URL than be <my.domain>/example/index.jsp ? I find it hard to verify my setup when I am not sure what is expected where and such... Cheers!
  2. Dear admins, Figuring out how to deploy a war to my Johnny account turned out a bit more difficult then I expected. I believe my Johnny account was 'Java activated' some time ago, although I cannot seem to find my 'Java Request' topic back. Is this because those topics are cleaned up after some time or did I not actually get Java activated on my account? I could post a 'Java Request' topic, but I do not want to cause problems if it is already activated... My final purpose is to be able to deploy (home brewed) WAR files to my public_html folder, but this old thread (only found via Google Cache) seems to suggest that requires some 'extra' configuration? http://webcache.goog...lient=firefox-a Please tell me what to do: post (possibly another) 'Java Request' or can I assume it should be working and try to find the problem somewhere else? Hope hearing from you, thanks! Cheers, Paul
  3. The question is already answered but in the style of "learning how to fish instead of giving a fish", I would recommend having one page in your account with http://php.net/manual/en/function.phpinfo.php on it. I have one and I find I use it often to check some server setting.
  4. In PHP the logic is as following (source http://www.php.net/manual/en/function.include.php ): * If the path starts with / then it is deemed the absolute path on the filesystem of the server * If it does not start with ./ or ../ then it will look in the include_path. This is set to be . and two more system locations you cannot reach yourself. * If the path does start with ./ or ../ then it is relative to the current file I had some problems with included and then I started using <code>require_once __DIR__.'/shared.php';</code> Where __DIR__ is always the absolute path of the file in which it is used. So if you use __DIR__ in two files, the one including the other, then __DIR__ is (or can be) different for both files. But prepending with ./ should be the same as __DIR__ so maybe I will give that another go myself (once I have something working I do not easily change) :-). I would advice against using absolute paths: it would make it more difficult to move to a different server or subdomain.
  5. I noticed the folder /home/pjvleeuw/php/.channels/ with in it (among others) __uri.reg In the above mentioned installation instructions it is stated: " The PEAR channel (pear.phpunit.de) that is used to distribute PHPUnit needs to be registered with the local PEAR environment: pear channel-discover pear.phpunit.de This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel: pear install phpunit/PHPUnit " Has anybody worked with this on HelioHost before? Could I add the channel manually somewhere, and how would I go about grabbing the newest version of PHPUnit? I am a bit afraid that I brick my installation (or at least break it such that I do not know how to fix it): I already did too much trial and error via the cPanel... Any help is much appreciated!
  6. Dear all, Could anybody explain me how I can use PHPUnit. The PHPUnit installation tutorial (here: http://www.phpunit.d...stallation.html ) states I should run some command-line commands, which I (understandably) cannot do on HelioHost. Via the cPanel PEAR section I installed PHPUnit2 version 2.3.6. Maybe worth nothing that according to http://pear.phpunit.de/ the current version is 3.6.10 and 2.3.6 is quite old. The only options I found when searching for "phpunit" via cPanel were 1.3.2 and 2.3.6. Now when I run a script starting with require_once 'PHPUnit2/Framework/TestCase.php'; then PHP gives me the message: Warning: require_once(PHPUnit2/Framework/TestCase.php) [function.require-once]: failed to open stream: No such file or directory in /home/pjvleeuw/public_html/ctr/tests.php on line 2 Via FTP I checked, the file /home/pjvleeuw/php/PHPUnit2/Framework/TestCase.php does exist, but apparently (checked via phpinfo() ) the include_path is set to ".:/usr/lib/php:/usr/local/lib/php". I am not sure but when I install something via the PEAR section on cPanel, where is that supposed to go and should that path be included automatically? I'd rather not hard-code a path anywhere in my PHP, that is exactly what the PEAR mechanism (from what I understand so far) aims to avoid. So my question boils down to: * I can imagine other PHP developers using PHPUnit, so it might be worthwhile to make this available by default / system wide? * if not, please help me set this up property, I searched a lot but I am stuck, please help Hope hearing. Many thanks for reading. Best regards, Paul
  7. Problem seems solved now when browsing Java Request URL via mobile. Might have been a glitch or problem with my other browser. Either way, topic closed.
  8. Dear admin, Please be informed that there seems to be a problem with the Java Request subforum. When trying to navigate there it forwards to 'HelioHost News' RSS feed. My reproduction steps: * use Firefox * log in using account pjvleeuw * go to Forums > HelioNet Customer Service * click on Escalated Requests * page http://www.helionet....lated-requests/ loads, and it looks ok, like a subforum page * go Back * click on Java Requests * page http://www.helionet....-java-requests/ loads, but looks like a Firefox RSS subscribtion page, showing HelioHost News (first to items 'Stevie Down For Maintenance' and 'Happy Holidays') * see screenshot attached Expected: * a subforum page similar to that of Escalated Requests Please let me know if this is a problem for me only of if you see the same behaviour. If you see the same behaviour, please let me know when I can access the Java Request forum again (I would like to activate it for my just-created account). Hope hearing from you, thank you for your time! Best regards, Paul
  9. Well, apparently I had to wait a little longer. All is solved now: I can log in to cPanel, I can send files with FTP and the domain name is linked to the account. Case closed. Thanks for the help!
  10. Hi again, I created the Johnny account two days ago. Now when I log in, using the form at the bottom of the HelioHost home page, then I am directed to http://johnny.heliohost.org:2082/login/ while before I was directed to stevie.heliohost.org (see earlier post). So I guess that is a good sign (as it appears that some record is found for my username and it appears that me username is linked to Johnny). Nevertheless on the http://johnny.heliohost.org:2082/login/ it shows Login Attempt Failed!. So I triggered a password reset, but until now (after +/- 30 minutes) I did not get the email with reset info. Could anyone check uppon the status of my account, I am afraid something is still not right (I have been trying for some time now to get a working Johnny account, but I guess my karma isn't so good ). Help is much appreciated! Best regards, Paul
  11. Thanks for checking up on it Krydos, appreciated! I did the signup again straight away, using the link in your message, page was titled 'Johnny Signup', so it ought to be all right this time Fingers crossed. I will close off the thread later posting the end result.
  12. Yeah, I got that. It was written quite clearly on the page that Krydos gave me: http://wiki.heliohost.org/wiki/Moving_your_account My questions was when I can know for sure that all traces are removed to make sure that it will not influence my subscription for Johnny. Anyone?
  13. Thank you Krydos. I requested the account deletion. The text displayed says: Your account has been queued for deletion. Depending on the circumstances, it could take up to a couple weeks to get deleted. So, how do I know that all traces are deleted? I want to be sure not to create the new account too early for the risk that the account creation might fail again (and having to wait another week..). Can I expect an email when all is done? Cheers, Paul
  14. Hi all, This is my first post and would like to start thanking the administrators for providing me the opportunity of a free web development playground. I didn't even start yet, but you guys already made me a happy person (: though a bit confused person As mentioned my goal is to play around with different techniques, hopefully resulting in useful web applications. Because of this goal I was more interested in Johnny, since Ruby on Rails and JSP are both things I touched on before. So I thought I signed up for an Johnny account some days ago, but I suspect something did not go well: * I received an email "Hosting Account Installed" last Sunday night/morning western europe time. I was not able to log in yet at that time. * Then a little later on Sunday morning I received the email "Your hosting account at HelioHost has encountered an error during installation. The error is:", (no error is showing, just some empty lines). The email ended with the suggestion to sign up again. * After signing up again (again I believe I choose Johnny again) I got another email titled "Hosting Account Installed!", this was still Sunday (23 hours after the first email). * After waiting for some days I was able to sign in with the form at the bottom of the www.heliohost.org home page. After logging in I get to pages located on stevie.heliohost.org. * On the cPanel I do not see anything about Ruby on Rails or JSP, so I suspect that I did not get the account on Johnny. * Lastly, after some days my domain is still not pointing to heliohost but to the server I am trying to move away from. http://<mydomain>/cpanel gives an 404 error. I hope I described all observed behaviour clearly. Now my question to any administrator reading this: could you please check my account (username pjvleeuw) and help me out? I did already check http://www.heliohost.org/home/support/scripts/status , it says "Either we could not find that account in the database, or it has already become active". Please help me get an account on Johnny. Thank you very much for your time reading this. Best regards, Paul
×
×
  • Create New...