-
Posts
24,190 -
Joined
-
Last visited
-
Days Won
853
Everything posted by Krydos
-
Does fixing all of these errors make your site look the way you expect?
-
You don't need my help for most of this. I'm going to try to teach you how to do this troubleshooting yourself by taking you through the steps that I take to debug your rails app for you. Of course we want to run your rails app as development to begin with. The difference between development and production is production hides most of the errors. We want to see the errors so we can debug this thing. Once it works we can switch it to production. The first step is to try to start the rails app. If it doesn't start then you read your log files. If you open /home/skarthi1/rails_apps/fedena/log/mongrel.log you see Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. Johnny is running rails 2.3.18 already, and it's not possible to downgrade it so you need to do as the error message suggests and edit /home/skarthi1/rails_apps/fedena/config/environment.rb Change the line that says RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION to RAILS_GEM_VERSION = '2.3.18' unless defined? RAILS_GEM_VERSION to match the version of rails that you have available. We also need to make sure there isn't any other references to rails 2.3.5 like in /home/skarthi1/rails_apps/fedena/Gemfile Change gem 'rails','2.3.5' to gem 'rails','2.3.18' Now let's go try to start the rails app again. Wow, look at that! It started up. But it's still showing a 500 error. Time to go back to the logs. This time it's running so mongrel.log is just going to show the startup sequence. Since we're running it in development mode let's check out development.log. Ah ha, look what is there Status: 500 Internal Server Error Access denied for user 'root'@'localhost' (using password: YES) Ooops, we forgot to set up the mysql user and password. Obviously our rails app isn't going to be able to connect to the database as root on a shared host. So, open up /home/skarthi1/rails_apps/fedena/config/database.yml and change this development: host: localhost adapter: mysql database: fedena_ultimate port: 3306 username: root password: foradian to development: host: localhost adapter: mysql database: skarthi1_fedena port: 3306 username: skarthi1_root password: <removed> Alright, that looks better. Let's restart the rails app, and check the url again. Darn it still isn't working. Back to development.log. This one is a little more cryptic NoMethodError (undefined method `config_value' for nil:NilClass): app/controllers/application_controller.rb:319:in `set_user_language' Rendered rescues/_trace (157.5ms) Rendered rescues/_request_and_response (0.4ms) Rendering rescues/layout (internal_server_error) I loaded up /home/skarthik1/rails_apps/fedena/app/controllers/application_controller.rb and looked at line 319. It looks like it's trying to load some locale value from the database that doesn't exist. I don't really care about going through the whole process of figuring out how to fix the database so let's just commend it out. Change if session[:language].nil? I18n.locale = lan.config_value else I18n.locale = session[:language] end to if session[:language].nil? # I18n.locale = lan.config_value I18n.locale = session[:language] else I18n.locale = session[:language] end Now let's try loading it up again. And it seems to be working! Final notes: It looks like your database is empty. All of the tables are created and have the proper structure, but there is nothing in there. That includes the users table so I'm guessing you're not going to be able to log in until you find a way to populate the database with the proper default values. If I were you I would try to find a working fedena database and export it to a .sql file, and then use phpmyadmin to import it. That would probably allow you to log in at least. Good luck!
-
Unarchiving... You should now be able to log in at https://www.heliohost.org/login/ and your website should start working within 24 hours.
-
Since you picked the Johnny server you are using postgresql version 8.4.20. Johnny is not compatible with newer versions of postgresql so we can't upgrade it either. Postgis requires potgresql version 9.2+. Ricky and Tommy are both running postgresql 9.2.23 so I would recommend switching servers if you need postgis. They don't have it installed already, and I'm still not sure it's possible, but at least there's a better chance of it working. Let us know how you'd like to procede.
-
Alright, can you log in to your Tommy account now at https://www.heliohost.org/login/ ? Also, I noticed that your main domain doesn't exist. I recommend buying the domain https://www.namecheap.com/domains/registration/results.aspx?domain=stepbetacalculator.com&aff=102467 and setting your nameservers to ns1.heliohost.org and ns2.heliohost.org or changing your main domain http://www.heliohost.org/classic/support/scripts/domain to something like stepbetacalculator.heliohost.org Let us know if you need any help.
-
You can host up to 4 ror applications on your one account, and you can host an unlimited number of websites. When people manage websites for others we generally require they do so on one account. Is there any reason you can't do the same as everyone else?Skarthi2?
-
Remote access enabled.
-
My advice is to use Joomla install through softaculous. We even send you an email reminder when updates are available so you won't get caught with a vulnerable to hacks version. Then you can log in and update Joomla with just a click. You don't have to download anything or extract anything. https://tommy.heliohost.org:2083/frontend/paper_lantern/softaculous/index.live.php
-
Yeah, paypal is working again. The reason you didn't get an invite is because there is already an account that is using that email address. Since the account is on Johnny I'm going to assume you would want to be transferred to Tommy. You're on Tommy now. If you see a 404 error or a Johnny queued page please clear your browser cache and flush your os dns records. Thank you for your donation. We really appreciate it.
-
I already explained this 9 days ago, but apparently you didn't understand You are only allowed to have one account. Instead of deleting your second account you created even more. Pick one account, and delete the rest using http://www.heliohost.org/classic/support/scripts/delete I've already given you 9 days. As of this post you now have 24 hours or we'll be forced to suspend all of your accounts. I'll consider helping you deploy this ror app again once you are in compliance with our terms of service.
-
I looked in to installing it, and that would work fine, but the problem would be how to allow people to create databases and users, etc. Either we would have to have an admin create each and every database manually for the users or we'd need to write some sort of custom plugin. Either way is quite a bit of work. It's on the todo list though. Do you think a lot of people would want to use mongodb?
-
What happens when you go to https://tommy.heliohost.org:2083/frontend/paper_lantern/filemanager/index.html Then double click public_html. Then open tmp. Then right click on your .zip file and click extract?
-
PHP files have to be 644. I see a bunch of your files at 777. Does it work if you have the right permissions set?
-
This is what I see: and the site doesn't work at all. Maybe I'll try another computer...
-
Remote access enabled.
-
Also you can have as many domains on your account as you want so changing your main domain is usually pointless. In this case I would recommend adding it as an alias.
-
Paypal isn't working right now. I'll check it again in a bit.
-
[Solved] How To Map A Domain Name With My Account?
Krydos replied to subodhc's topic in Escalated Requests
http://questioninmind.com/ and http://subodhc.heliohost.org/ are both working. Marking solved. -
Normally we require a donation for an admin to move your account for you, and to move your account for free you need to follow the guide at http://wiki.helionet.org/Moving_your_account Tommy apache restarts are starting to get a little long due to the number of accounts though and I've got some free time so why not? You're on Ricky now. If you see a 404 error or a Tommy queued page please clear your browser cache and flush your os dns records. Enjoy being on Ricky.
-
Your account is on Tommy now. http://johnpels.heliohost.org/test.aspx<br /><br />If you see a 404 error or a Johnny queued page on your domain please clear your browser cache and flush your os dns records.<br /><br />Thank you very much for your donation. We really appreciate it.
-
Your account is on Tommy now. If you see a 404 error or a Johnny queued page on your domain please clear your browser cache and flush your os dns records. Thank you very much for your donation. We really appreciate it.
-
I thought you were going to try uploading a fresh copy of the fedena code.
-
I just tested mail() on Tommy using <?php $to = "me@example.com"; $subject = "Does php mail() work?"; $message = "Hello world!"; $headers = "From: no-reply@krydos@heliohost.org\r\n"; mail($to, $subject, $message, $headers); I received it on my gmail account and my hotmail account. What version of php are you using?