Jump to content

Search the Community

Showing results for tags 'PHP'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. I am trying to install Hubzilla Server on my account and it's spitting out three critical errors (exec disabled, shell_exec disabled, and could not find a command) that I can't get past. Now, before you reply, I understand why you would not want shell_exec and exec enabled. I am not a PHP programmer by any means, but I understand the potential security concern here. So, now, my question: Hubzilla is pretty feature rich and decentralized. The decentralized aspect is what I was looking for. Is there another decentralized social network, even one not offered through the Softaculous easy installer, that would not require shell_exec and exec enabled?
  2. Is it possible to create a database through MySQL commands using PHP here? Look at this situation: I want the clients to create a database with the click of a button, containing several preset tables, using SQL commands inside PDOs in PHP. That being said, I want those databases to be created automatically, because this is part of a customized simple application.
  3. I created a test.php file to see if it's enabled, but i alays get an "Internal Server Error" and i also checked the permission tp 644. I created a new folder and inserted the php file ith the same permission and there i get "Forbidden You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe". Then i inserted a plain php echo in html, but the code gets commented out. How do i know that PHP is enabled and can vie php files?
  4. [03-Feb-2020 08:47:33 UTC] PHP Fatal error: Uncaught Error: Class 'CPANEL' not found in /home/*********/public_html/index.php:2Stack trace:#0 {main} thrown in /home/****/public_html/index.php on line 2
  5. Hello I'm using helio host server for backend to my app today my app doesnt work and all php file not working and my website use low bandwdith and size could you please fix this probelm Thank you update site back online again I'm happy I'll put helio host banner ads on my app thank you Helio host
  6. Hi, please help. I can't download files from external url like before. the function file_get_contents() is not working as before, i'm getting the error: "failed to open stream: Connection refused" i understand this could be a firewall block level, so please check it out. Thanks!
  7. Hi. I'd like to know if there is a limit for a php application to upload a file and, if present, if it is customizable. Thank you
  8. how do access php.ini to enable maximum_upload size to 16mb and to enable php_mcrypt and inconv extension on tommy
  9. Hi all, I wonder if we may re-install the following PHP extensions, please:-- MCrypt PHP Extension-- PDO Extension-- php_fileinfo Extension After the server rebuilt, we apparently need to re-install these extensions. I am trying to install an "architect" site builder. I am getting a general "Server error". I am guessing, that the error is related to the missed extensions above. Thank you!
  10. Has anyone tried hosting a Grav site on HelioHost? I'm wondering what the performance/resource usage is like. Right now (or rather, when Tommy is back up) I'm using Wordpress, but that seems to be pretty resource-hungry (as people never fail to point out). What I need is a lightweight CMS that still supports plugins, multiple authors, and non-technical interfaces for them to work with. If Grav is light enough, it would probably fit the bill
  11. Always I try to access my login.php shows the message: the path is: http://rpgmakergold2003.heliohost.org/php/ckeditor/samples/login.php please help me with this!
  12. Hey there everyone, I have good knowledge of python but I'm still learning Php (well to be honest I started learning it for this purpose). I have a Python script in /cgi-bin and it works fine when I go to mydomain.heliohost.org/cgi-bin/script.py. What I want to do is make it so that it starts from a Php file outside of /cgi-bin. I tried shell_exec() but I'm getting the "Warning: shell_exec() has been disabled for security reasons..." message. I know this function can be used for malicious purposes and that's why it's blocked. I tried some other functions but nothing seems to work or I'm doing it wrong. Question: Can this be done without the use of shell_exec() by any chance? I know there are some duplicate topics of this subject, but as I said I tried a few solutions posted on them and these didn't work. Thanks for your attention!
  13. My domain is www.madhusudanmishra.in. All index.php files are working fine but when files which have to make connection with the database are called it shows error 500. For eg: www.madhusudanmishra.in/register is working fine but when someone tries to make a login attempt (file signin.php works) and shows error 500. All php file permissions are set to 644 as well as db user has all privilege given. The same works fine on the localhost xampp. Please help and thanks in advance.
  14. bharja.com hosted on Johnny. It uses PHP 7.2. My username is pieviks. I've purchased a new Wordpress theme and trying to upload it for my Wordpress website The zip file size is around 48 MB. Whenever I try to upload the zip file, it gives an error. It's probably due to it's size (48 MB). how can I change upload_max_filesize for PHP? it's usually stated in php.ini I don't see any option in Cpanel to edit php.ini on Johnny server. Please advise or change it for me. Thanks in advance !
  15. Is php mail() function not working today? This is my base code: <!-- NO HTML CODE ABOVE --> <?php $email = "rogeriobsoares5@gmail.com"; $subject = "Email Test"; $message = "Hello, boy!"; mail($email, $subject, $message, "From: English U.P.<englishup19@gmail.com>\nX-Mailer: PHP/" . phpversion()); sentmessage = true; ?> <HTML charset="utf-8"> <HEAD> <TITLE>MAILER</TITLE> </HEAD> <BODY> <?php if(isset($sentmessage)){ if($sentmessage == true){ echo "Message sent successfully!"; } } ?> </BODY> </HTML> I've been testing several times today, but I'm not receiving the messages at all. Why is that the case? Would anybody know the answer? Thank you! AN IMPORTANT PIECE OF INFORMATION: It's not working when I send to my gmail accounts, but only when I set $email as my Hotmail account. Why?
  16. hello sir, I`m trying to change php version from cpanel but could not chage it please help. here is error message: Error:(XID 4xsjjv) 1 error occurred: Error #1: The system failed to apply the “PHP” version to “nonsense.win”: Cpanel::Exception::IO::FileLockError/(XID gmau4v) The system failed to lock the file “/.htaccess” (as EUID: 3312, EGID: 3314 3314) because of the following error: Permission denied at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330. Cpanel::Exception::create("IO::FileLockError", ARRAY(0x3c92fa8)) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 129 Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::Raw", "path", "/.htaccess", "permissions", 420, "restore_original_permissions", 1) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 188 Cpanel::WebServer::Supported::apache::Htaccess::_internal_set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x390f570), "package", "inherit", "handler", Cpanel::WebServer::Supported::apache::Handler::inherit=HASH(0x3b8cf00), "userdata", Cpanel::WebServer::Userdata=HASH(0x13d8c70), "vhost", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 209 Cpanel::WebServer::Supported::apache::Htaccess::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 97 eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 97 Cpanel::AccessIds::ReducedPrivileges::call_as_user(CODE(0x3b04eb8), 3312, 3314) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 211 Cpanel::WebServer::Supported::apache::Htaccess::set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x390f570), "userdata", Cpanel::WebServer::Userdata=HASH(0x13d8c70), "vhost", "nonsense.win", "lang", Cpanel::ProgLang::Supported::php=HASH(0x3c0f230), "package", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 914 Cpanel::WebServer::Supported::apache::__ANON__(Cpanel::Exception::IO::FileLockError=HASH(0x390f4f8)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 122 Try::Tiny::try(CODE(0x390f558), Try::Tiny::Catch=REF(0x34f8ee0)) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 920 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x3c5cee8), "vhost", "nonsense.win", "lang", Cpanel::ProgLang::Supported::php=HASH(0x3c0f230), "package", "inherit", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 450 Cpanel::WebServer::__ANON__(Cpanel::Exception::IO::FileLockError=HASH(0x3b658d8)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 122 Try::Tiny::try(CODE(0x3a52108), Try::Tiny::Catch=REF(0x39c2c88)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 455 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x3c3a090), "vhost", "nonsense.win", "user", "rainyads", "lang", Cpanel::ProgLang::Supported::php=HASH(0x3c0f230), "package", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 529 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 101 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92 Try::Tiny::try(CODE(0x3c00340), Try::Tiny::Catch=REF(0x3c9cb08)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 535 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x3c3a090), "user", "rainyads", "vhosts", ARRAY(0x3bfd848), "lang", Cpanel::ProgLang::Supported::php=HASH(0x3c0f230), "package", ...) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 97 Cpanel::PHP::Vhosts::setup_vhosts_for_php(ARRAY(0x3ae8360)) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 238 Cpanel::PHP::Vhosts::php_set_vhost_versions_as_root(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, HASH(0x1367eb8), 0) called at bin/admin/Cpanel/multilang.pl line 67 eval {...} called at bin/admin/Cpanel/multilang.pl line 67 bin::admin::Cpanel::multilang::UPDATE_VHOST_CPANEL(bin::admin::Cpanel::multilang=HASH(0x38c04a0), "ea-php72", "nonsense.win") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Call.pm line 119 Cpanel::AdminBin::Script::Call::_dispatch_method(bin::admin::Cpanel::multilang=HASH(0x38c04a0)) called at /usr/local/cpanel/Cpanel/AdminBin/Script.pm line 166 Cpanel::AdminBin::Script::new("bin::admin::Cpanel::multilang", "alarm", 20) called at bin/admin/Cpanel/multilang.pl line 23
  17. Hi, When I tried to open a PHP file in a subdirectory of my main website, the website encountered a 500 error (screenshot attached below). Is PHP not supported in subdirectories?
  18. Hi team, starting from today I am not able to reach some domains from my PHP and JAVA code from my domain in Heliohost. In particular, I am not able to reach https://api.fanburst.com and http://api.soundcloud.com/ (which I call to extract some data) from my code. I always get a "Connection refused" error. Did you change something from your side? User: shuffly Domain: shuffly-backend.heliohost.org Thanks for the support
  19. Server = Tommy Root Domain = computernerdkev.heliohost.org Reading posts on the forum, I've noticed the 50 Email per day limit. I wasn't aware of this when I designed my online store (by which I mean wrote all the code from scratch in PHP) in 2017, but so far it hasn't been successful enough to be a problem anyway. Nevertheless I've got a couple of expansions in the works and they could lead to more Email traffic. One part will involve users submitting digital content to be sold, similar(ish) to Ebay, and I may decide to implement a user setting where instead of "sellers" getting an Email for each sale, they get a weekly summary. This would mean sending an Email to all "sellers" once a week, so that would lower the headroom for other Emails on that day. For the moment though, for each order an Email is sent to me, and to the buyer. Also, for a bit of redundancy in case of outages, I have the Emails for me sent to an Email account on the HelioHost server, which forwards them to an account registered with another Email provider. So, Question 1 is: Does this (previous paragraph) equal 2 Emails, or 3 Emails (or 1 Email, if neither Emails to accounts on the HelioHost server, nor automatic forwarding to external accounts, are included in the count (if so, that's proably a bit of a loop-hole)). Also, searching through the forums I've found that HelioHost is happy with extending the limit if users can convince them that they're not a spammer. It seems that I still need to work out a new limit to request though, which is a little tricky. If I were to say that I'd never expect more than 100 orders a day, that would probably make 100x[answer to question 1] per day, plus another 75 for Emails to "sellers" in that part of the store. Then plus the number of sellers I can expect to turn on the weekly summary function if I decide to include it, which is really quite hard to guess... perhaps I'll say 200, but I want to say more. Given that I find setting a limit within the range of past requests so difficult. I'm tempted to simply configure the PHP mail() function, which I've used, naturally enough, for all the automated Emails, to use an external Email server. This turns out to be easier said than done on Linux. I wanted to use msmtp if it were available and configure PHP to use it in place of sendmail (with command line options setting it to use my desired SMTP server), but it turns out the PHP configuration option to set the command used by the mail() function can't be changed in .user.ini, only in php.ini. I know there are other ways to send Email from PHP besides mail(), but I don't want to change the code, and mail() looks to be the simplest and easiest method to program. Question 2 is: Is there any recommended way to set an external server for sending Email from PHP using mail() within the limits of a Heliohost account? Finally, on another topic. Part of the digital marketplace type site that I described earlier will be to have images uploaded by users to match their products (up to around six). Ideally I'd use the PHP "GD" functions to resize these images to three sizes (and probably delete the original to save space). Question 3 is: Assuming that I allow for large image sizes to be uploaded, would resizing six high-res JPEG images to three different sizes (18 conversions) in one script be enough to risk triggering excessive CPU usage and cause my account to be suspended. Keep in mind that this would be a somewhat infrequent event. Initially some manual verification may be required for each new listing, so if I have to do the image conversions on my own computer as well, that wouldn't be a huge issue. Thank you, and sorry for the long post. PS. I really think that the Email limit should be mentioned somewhere on the Wiki along with the other limits. Answers to Krydos' standard four questions for the over-zealous Emailer: How do you get the email addresses for your mails? Either I programmed them into the PHP scripts (the emails sent to me), or users submitted them when placing an order. Coming soon: Sellers submit them during account creation. How do people unsubscribe from the emails? I give up all this nonsense and close down the whole website. Users choose not to place any more orders (the only thing that causes an Email to be sent to them is when an order is paid for (or fails to be paid for) and when an item is posted)). Coming soon: Sellers close their account on my website. How many emails do you expect to send a day to begin with? Answer question 1, then see following paragraph. Please provide an example email. Grumble, grumble. OK here are some redacted examples from when I was first testing the site: Buyer successfully paid for an order Buyer unsuccessfully paid for an order (payment details didn't match the order correctly) Buyer's order has been posted The Email format for the marketplace bit of the site hasn't been done yet. This includes emails to sellers, and order confirmation emails for digital-only orders which may include temporary links for downloads. The Emails to me are basically the same but less polite and with technical detail about the payment errors.
  20. Hi, would it be possible to install gettext on PHP? As you can see here it isn't installed: https://interrogazioniprogrammate.tk/gettext.php Thanks
  21. Hello, I've done a lot of research but cannot figure out how to make session variables created on one subdomain or root domain accessible to all other subdomains of that root domain. For example, if I login to my account on https://valid.studius.gq, the login php script sets the session variable "logged_in" to true. This allows access to all pages that are protected within the subdomain. However, the same session variable is not valid at https://matic.studius.gq and it redirects back to the login page. Any and all suggestions are appreciated. Thank you.
  22. Hi. I try to reach my site bfpsw.heliohost.org, but it is unreacheable. Can you do something? Thanks
  23. Hi. Any news about Johnny? Site is still unreachable... Thanks
  24. Hi. I'm bfpsw on Johnny. I try to load my http://bfpsw.heliohost.org/reweb/index.php page, but I get an HTTP-500 error. After a few other trials the answer is "The page cannot be reached". Can you give me some information about the problem? Thanks
  25. Hi there, I was wondering if there are any plans on upgrading the PHP version for Tommy. I am currently trying to run an updated version of Magento and I am not able to do so due to the PHP version.
×
×
  • Create New...