Jump to content

Paul

Blesta Developers
  • Posts

    6,583
  • Joined

  • Last visited

  • Days Won

    817

Posts posted by Paul

  1. 11 hours ago, Jason said:

    Customers are getting an error message when paying through Stripe. I only started having this issue after upgrading to Blesta 5.2.2. Not sure that has anything to do with it, but I did upgrade recently.

    The error log says, ""array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead";}"

    Anyone else having this issue?

     

    Are you using Stripe or Stripe Payments and did you switch/migrate from Stripe to Stripe Payments? What version of Blesta did you upgrade from? Are the errors occurring with only new or only existing payment accounts, or both? What version of PHP are you running and did you change it, or change anything else on the server recently?

  2. 15 hours ago, Qurius said:

    "So you have the .mmdb file in the right location, and the database shows that geoip_enabled is true and the settings page for GeoIP at ~/admin/settings/system/general/geoip/ still throws an error?"

    The database was showing that GeoIP was enabled and I disabled it. Disabling it fixed the issue with the error when viewing the clients but did not fix the issue with accessing the GeoIP settings page .

    "Check if GeoIP is actually working. Go to a client's profile page, hover over their IP address on the left next to "Last seen". Does it show their location in the a tooltip?"

    The tooltip only shows their last activity not location.

    "Are there any other errors written to the log file ../logs_blesta/ (full path defined under Settings > System > General) when you reload the GeoIP settings page?"

    In logs_blesta this is generated when accessing the GeoIP settings page:

    general.ERROR: Uncaught Exception Error: "Call to undefined function Blesta\Core\Util\GeoIp\geoip_open()" at /home/account/public_html/clients/core/Util/GeoIp/GeoIp.php line 38 {"exception":"[object] (Error(code: 0): Call to undefined function Blesta\\Core\\Util\\GeoIp\\geoip_open() at /home/account/public_html/clients/core/Util/GeoIp/GeoIp.php:38)"} 

     

    This function geoip_open() is no longer used, it shouldn't be called. What could cause it to be called is if you have a copy of the OLD maxmind GeoIP file.

    What files do you have in your ~/uploads/system/ directory? If there is an old version of the GeoIP data (Not the one ending in .mmdb but one ending in .dat, it will try to call this function. The file should be removed.

  3. On 1/27/2022 at 10:59 PM, Kaushik said:

    Hi,

    While syncing prices, (logicboxes module) the prices are getting synced using the local currency set in logicboxes into the USD column of Blesta DB and then converting back to other currencies.

    Ex: .com Domain from Resellerclub priced at INR Rs. 800 is synced in USD section of Blesta (at $800) and then converted into INR at (Rs. 800*70 = Rs. 56,000).

    Ideally, there could be three fixes;

    1. Retrieve currency from Logicsboxes using USD and not the local set currency at Logicsboxes or other Registrars.

    2. If Blesta is retrieving pricing using local currency then while syncing into USD, it must be inserted into USD column of DB by factoring the exchange price i.e Rs 800 appx USD 11)

    3. If Blesta is retrieving pricing using local currency then collate it in local currency tab of domain pricing without factoring exchange rate as the factor will be '1'.

     

    Thanks, we have a task here https://dev.blesta.com/browse/CORE-4574

  4. Interesting. I'm not able to reproduce this.

    So you have the .mmdb file in the right location, and the database shows that geoip_enabled is true and the settings page for GeoIP at ~/admin/settings/system/general/geoip/ still throws an error?

    Check if GeoIP is actually working. Go to a client's profile page, hover over their IP address on the left next to "Last seen". Does it show their location in the a tooltip?

    Are there any other errors written to the log file ../logs_blesta/ (full path defined under Settings > System > General) when you reload the GeoIP settings page?

  5. 5 minutes ago, Qurius said:

    That's one of the problems since going into GeoIP settings produces the error. What folder should the MaxMind db get uploaded to.

    It would be located at ~/uploads/system/GeoLite2-City.mmdb whatever the path to your uploads directory is. If you have access to the database, you can also check to make sure it's not enabled. Here's the query to run to check:

    SELECT * FROM `settings` WHERE `key`="geoip_enabled";

    settings.value would be false for disabled, and true for enabled. If it is true, change it to false to disable it

  6. 3 minutes ago, Qurius said:

    When errorReporting is 0 it goes to the 500 error. When errorReporting is enabled it displays "Uncaught Error, code 0 in /home/account/public_html/clients/core/Util/GeoIp/GeoIp.php on line 38 Message: Call to undefined function Blesta\Core\Util\GeoIp\geoip_open()"

    Actually when checking some of the other clients I discovered several produce the error but not all.

    I didn't see any errors when uploading to do the 5.2.2 upgrade but will do it again just to be sure nothing got missed.

     

    I'll let you know if it helps...Thanks

    If that doesn't work, you might try enabling GeoIP and see if that gets rid of the error. To do that you'd need a free MaxMind account to download the data file though.

  7. 46 minutes ago, Qurius said:

    The error I posted is what I get when errorReporting is enabled in /config/blesta.php. Running PHP 7.4 and 5.2.2 was an upgrade from a 4.x version. Oddly did not have this issue initially after upgrading so not sure why now. 

    What happens when errorReporting is 0 and debugging is false in /config/blesta.php? Does it still produce a 500 error?

    There is a possibility that some files may be missing. Sometimes they get skipped when uploading, I would try re-uploading the files from zip, overwriting the existing just to be sure everything is there. If your FTP program lists all the files, make there were no errors uploading.

  8. 6 minutes ago, Qurius said:

    I've never used/enabled GeoIP and get the same 500 error when going into Settings>System>General>GeoIP . 

    Do you have errorReporting or debugging enabled in your /config/blesta.php config file? What version of PHP are you running? Is this a fresh 5.2.2 install or did you upgrade from an earlier version? If you upgraded, what version did you first install?

  9. 21 hours ago, Qurius said:

    I've just started to get a 500 error on just one client in the client area.  I'm not using geoip but also get the same error when I go into geoip in settings.

    With error logging enabled I get this when clicking on the client ID:

    "Uncaught Error, code 0 in /home/account/public_html/clients/core/Util/GeoIp/GeoIp.php on line 38 Message: Call to undefined function Blesta\Core\Util\GeoIp\geoip_open()"

    Can someone give me some direction on where to start looking...

    Thanks

    Belsta 5.2.2

    Do you have GeoIP enabled under Settings > System > General > GeoIP Settings? If you upgraded from an earlier version that had the legacy version of MaxMind GeoIP, you must DELETE the original GeoIP data file and upload a new one. 

  10. 4 hours ago, lighttouchtech said:

    Hi. I have verion 4.7.0 of Blesta and I got the plugin COOKIECTTR from Blesta Add-ons. I downloaded the zip, then put the zip in my "/plugins". I then went to /settings/plugins and saw the plugin there in my Blesta admin... I then clicked on INSTALL.

    At that point my browser window went white and the URL is: https://lighttouch-server.com/admin/settings/company/plugins/installed/.

    I am unable to go to INSTALLED tab. Stopped working and my plugins page shows broken html. I can't send the screenshot...paperclip is there but won't work at this forum. So there is a corruption. What can I do about this without reinstalling my Blesta and configuring it all over again with my clients. Any help would be great. Thanks.

    Jeff.

    It sounds like there's a problem with that plugin.

    You can try this.. in MySQL, change the plugin in the plugins table from enabled=1 to enabled=0, then see if the page loads. If it doesn't, you will need to delete the record from the plugins table for the plugin and delete the plugin files.

    Backup everything first, database + files.

    To do a thorough job of removing it, any/all tables the plugin may have created should be deleted manually as well. Because it's a 3rd party plugin, I have no idea what those are though. But, this shouldn't be necessary if you are not going to try re-installing it later.

  11. On 1/24/2022 at 9:33 PM, Jason said:

    I was using 5.1 but I upgraded to 5.2 today to try and see if that would fix it, but unfortunately I am still getting the same error.
    Is there a log file that will tell me "why" it isn't registering the domain name? For example, what the response from the API is?

    Or can I capture what it is sending to the API to try and diagnose what the error is? NameSilo offered to look at the API call, but I don't know what Blesta is sending them, so they can't diagnose it on their end.


     

    The API response is logged to the module log under Tools > Logs > Module tab. Click the row for the API call to expand it and see the raw input/output from the API call. Usually the output will provide more information.

    If there is some kind of PHP error, it would be logged to the file logs under ../logs_blesta (Path defined under Settings > System > General) so you may want to check this also. Only errors written during the registration attempt would be relevant.

  12. 5 hours ago, Jason Ryan said:

    This is the only part that is failing. When cron runs it marks the email as "Read" on the server but it is not updating the tickets with the response.

    If it marks it as read but doesn't import it, it is probably failing. Try disabling your cron job, and running it manually under Settings > System > Automation by clicking the button, after a 5-min wait with an email ready to be imported. At the same time, tail your logs via SSH.

    tail -f /path/to/logs_blesta/*.log

    Note any output and whether the email is imported when running the cron manually that way.

  13. What version of Blesta are you running? Namesilo requires that you have a payment ID and a verified payment method to register/renew/transfer domains over the API. That is the most common reason it does not work as expected. It is possible to manually renew/transfer/register domains with Namesilo through their interface without a verified payment ID, but not over their API.

  14. How are you importing tickets, using POP, IMAP, or piping? Are you saying that a new email to the department opens a ticket, but replying to the email sent to the client from a staff reply does not get imported? It's unusual that an email would be imported for a new ticket but not for a reply unless the reply is missing the required information in the subject line.

    I would check that mailparse and php-imap are installed. When changing PHP versions, this is most commonly overlooked.

    The errors you've included do not appear to be related.

  15. 19 hours ago, jose said:

    Thanks,

     

     

    Doing what you telling just changes the name of    domain.com/clientarea/admin{abc|newname|etc}

                                                                                         domain.com/clientarea/admin/client{abc|newname|etc}

    I need the admin and clients to be in the root like blesta.com is doing it.

    https://account.blesta.com/admin/login/

    https://account.blesta.com/client/login/
     

    any ideas.


     

    If you installed Blesta in a subdirectory called "clientarea" then this is why. You would need to install Blesta in the document root. If you have a website, then you should use a subdomain.

  16. 10 hours ago, jose said:

    After I install blesta I renamed  it to clientarea

    inside I don't see admin or client folder, and both admin and client uses /clientarea folder.

     

    how can I change the url to mydomain.com/admin and mydomain.com/client

     

    thanks.

     

     

    You can change the path to the admin and client areas by changing their routes in a config file. See https://docs.blesta.com/display/user/Configuration+Files#ConfigurationFiles-routes.php for an example for these. If you change the admin route, you will need to clear your navigation cache which can be done by resaving your staff group (Settings > System > Staff > Staff Groups: Edit & Resave)

  17. 40 minutes ago, jmf421 said:

    I have a customer where I want to manually send the invoice email to him. So I select the checkbox beside the invoice and then select "Deliver Via Email" and then I get this error:

     

    "TCPDF ERROR: GD library error: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image"

    There may be a problem with the logo or background image you have set. Try removing them to see if it resolves the issue, and if so, try re-saving them differently from your photo editor.

  18. On 1/8/2022 at 11:28 AM, Franz said:

    Has there been any more thought given to this? I'm using Mailgun inbound routing to create tickets currently and it is great would love to keep that functionality when I switch to blesta.

    SwiftMailer is no longer being maintained and Symfony Mailer is it's replacement and it does have support for Mailgun   https://symfony.com/doc/current/mailer.html#using-a-3rd-party-transport

     

    Looks like you created a request here https://requests.blesta.com/topic/support-for-hosted-transactional-email-postmark-mandrill-mailgun-etc

    We are considering transactional email integration, it's something that I think we are likely to do, it's just not a very high priority at the moment. We'll keep an eye on your request :) 

  19. 2 hours ago, Qurius said:

    Thanks Paul. It is a multi-company and I verified that nothing was changed with the paths when the server was migrated (same hosting provider). chmod is set to 755 but I will go through the troubleshooting steps and see what I can find.

    Check also that PHP IMAP and Mailparse are in your CLI PHP. Your ../logs_blesta/ error logs may have more information. Trying to pipe manually via SSH as in the test case described in the docs should help to narrow it down.

  20. Blesta doesn't include a pipe2.php so if you are using multi-company, check that it is a copy of pipe.php but has the correct company ID defined in the files. Double check that the file is executable (chmod 755), and that the full and correct path to PHP is included in the hashbang on the 1st line of the file.

    If your account is in a chroot environment, it may not be possible for the mail server to pipe email into Blesta.

    The next step would be to test piping per https://docs.blesta.com/display/user/Support+Manager#SupportManager-TestingPiping via SSH.

×
×
  • Create New...