Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Fresh reinstall in home directory? A couple simple questions..  (Read 8769 times)

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Hello!  I got an email saying new abantecart was released!  Awesome!

really, my only questions for now are about my delete->reupload->install method(bolded below) and should i not fear php 5.6.

I had an abantecart installed in the home htdocs directory on my webserver.  So my main question is about installing new version over that.  What I did was delete all folders and files that match the abantecart-src-master/public_html/* in my webhosting home directory.  Then upload new files and perform manual installation.  This should work with no problems?  I don't need to save anything from prior install, I just need a fresh install.

On to question two, are there limitations for the PHP version used?  I tried with 5.6 and found my way to a 500 internal server error.  So I was maybe going to try and use 5.5. 

.com/index.php
PHP: syntax error, unexpected '(' in php.ini line 1913
was an error I was receiving in /stats/cgi_error_log
[dba]
;dba.default_handler=
ini_set('display_errors', '1');   ;1913
error_reporting(E_ALL);


hosting is through ipage.com
previous installs gave me issues as well, but I can end up with a working abantecart.

Just laying my thoughts out..

Now that I think about it, I was having trouble connecting to the database at the first attempt of manual installation.  I may have re-uploaded all files and forgot to change the permissions the second time around.. so that would be the problem with any extra attempts. 

Currently reuploading again, then setting proper permissions.  Will be back to delete if everything is solved.

Again, really, my only questions for now are about my delete->reupload->install method(if that is sufficient?) and should i not fear php 5.6.
« Last Edit: August 18, 2016, 05:00:51 AM by BANTEBABY »

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #1 on: August 18, 2016, 05:25:05 AM »
Well, back to the 500 internal server error.  server's access_log_(date).gz has a bunch of weird characters..
ÿÃ;ÍU0—–¶0;¼\Ú2ïèB臓é”Nß,DC îå67Ò¯ª>�O$t´ùÞ å‘’•7z’T$½qWÙ³û^–ˆ^«Ê¡žµ½v{2{²Í{-„Ý“îXwo[ß/þتä#¿…¼7–)ï1Q2 ÉŸœŠJŠîо;0—D[L¼5ñšÉœh»¾™ß9ðŠ¼KåÚ"¯d¥²ÉØ%"¿dë#C´H„a×ù]‡û1°WÞbü\-Åsï;ñ ổ×t,Z
¯G-J—¤-¹b£0]½ì­?F�8À÷óØJOžúZþAvK—Ü«°ÿÏ€!"c��

I set permissions, recreated database, installed successfully, then 500 error.

now my only way to reinstall is by deleting/reuploading?  this is a hassle..  anyone else use ipage and have any idea of what is going on?   i can also look for other logs..

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #2 on: August 18, 2016, 06:03:57 AM »
2016-08-18 9:16:53 - App Warning:  AbanteCart core v.1.2.8 Warning: Accessing store with non-configured or unknown domain ( newerashirtscom.ipage.com/ ).
 Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /hermes/bosnaweb02a/b1209/ipg.newerashirtscom/core/lib/config.php on line 210


found that in system/logs/error.txt  maybe it will help.

im about to sleep for a couple hours, 5am now.  hope someone drops by and offers suggestions.  thanks!

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #3 on: August 18, 2016, 06:09:05 AM »
so,  i quick deleted /install/   and refreshed the "Success! install finished successfully" page: sitename .com/install/   and I am viewing a default abantecart 404 page.  so it's installed, and working, but trying to view my .com or .com/index.php?s=login_key  brings 500 internal server error.  hrm..

deleting and reuploading for another try later. 

session.save_path = /tmp/php_sessions;   i'm going to make sure that is added prior to installation, everything else that's needed, has been added from the beginning.
« Last Edit: August 18, 2016, 06:18:33 AM by BANTEBABY »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #4 on: August 18, 2016, 06:23:44 AM »
Hello.

I suggest you to contact your hosting support to resolve weird characters. php.ini and session issues. By the way AbanteCart work on my php 7 install so you should not to have big issues with php 5.6

For the  Accessing store with non-configured or unknown domain warning this is not critical warning appear when someone (human or bot) access your store with url different from your Store Url setting

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #5 on: August 18, 2016, 06:51:45 AM »
Thanks for your suggestion, hopped in chat with someone.  They advised me to unzip the .gz and i would see the errors.  I assumed winzip and 7zip would be able to unzip a *.gz file, but that's not the case.  so i'll do that in the future and see what that error file says.

They said: currently the error logs shows there is a syntax error in the installation file was causing the issue.
20160818T040501: (site name) .com/install/index.php
PHP:  syntax error, unexpected '(' in /opt/users/ipg/n/e/ipg.sitenamecom/php56/php.ini on line 1913

they then directed me to make display_errors: on  in the php ini.

mid upload, will post results soon

Thanks again Basara!

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #6 on: August 18, 2016, 07:14:13 AM »
Quick question.  Should I be able to go to my (site-name).com and would it redirect to /install/     because currently(pre-install)  my .com/index.php throws internal server error already.   and /install/index.php is fine. 

Upon viewing /install/index.php  ...  CGI error log,  PHP: syntax error, unexpected '('  is appended.
« Last Edit: August 18, 2016, 07:16:49 AM by BANTEBABY »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #7 on: August 18, 2016, 07:58:46 AM »
When cart is not installed and you have install folder it is normal that script redirect you to installation
« Last Edit: August 18, 2016, 08:01:36 AM by Basara »

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #8 on: August 18, 2016, 08:03:05 AM »
Thanks for your suggestion, hopped in chat with someone.  They advised me to unzip the .gz and i would see the errors.  I assumed winzip and 7zip would be able to unzip a *.gz file, but that's not the case.  so i'll do that in the future and see what that error file says.

They said: currently the error logs shows there is a syntax error in the installation file was causing the issue.
20160818T040501: (site name) .com/install/index.php
PHP:  syntax error, unexpected '(' in /opt/users/ipg/n/e/ipg.sitenamecom/php56/php.ini on line 1913

they then directed me to make display_errors: on  in the php ini.

mid upload, will post results soon

Thanks again Basara!

Error indicates that you have syntax error in your custom php.ini.
Check this /opt/users/ipg/n/e/ipg.sitenamecom/php56/php.ini on line 1913
Post what you have in this file around these lines. 
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #9 on: August 18, 2016, 08:03:50 AM »
Ecommerce_core

[dba]
;dba.default_handler=
ini_set('display_errors', '1');   ;1913
error_reporting(E_ALL);

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #10 on: August 18, 2016, 08:12:30 AM »
So, another support chat, they removed custom php.ini files. and that got it working.

"Your server is unable to create a session necessary for AbanteCart functionality. Check logs for exact error details and contact your hosting support administrator to resolve this error."  is showing up at the top of the page though.

7:19(cst) still in chat with support, they have set the session path but error not resolved.

"The issue is with the application you are using. The session path is properly set" they say.

and CGI error log still appending same error.

but I can log in and use abantecart.
« Last Edit: August 18, 2016, 08:32:01 AM by BANTEBABY »

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #11 on: August 18, 2016, 07:33:37 PM »
So, this morning in that support chat, they opened a ticket for for a tech specialist to check out the error: "Your server is unable to create a session necessary for AbanteCart functionality. Check logs for exact error details and contact your hosting support administrator to resolve this error."  that shows up on top of the admin login page.

Their response:

"I was able to duplicate the issue with the admin page, I have corrected the permission, set proper session path and re-updated the php version at https://www.ipage.com/controlpanel/cgiManagement/phpplus.html but the admin page is showing same error. It seems to be issue with script or coding. Please correct the script by contacting application vendor and fix the issue.

If you have any further questions, please update the Ticket or contact us via chat support https://www.ipage.com/chat ."

So, I don't know if that is a common issue that can be ignored without worry or if there is knowledge as to what is going on.  I'll make some more searches tonight.

Concern #2,  Every time the site is used (it seems).. the error log appends the bold error listed above.  I just worry that error log will get very large in a very short time.  Manually clearing the log seems tedious, and maybe i won't need to do it more than once a year(i can't imagine the file being that large even with 10,000 logged errors).

Thanks for everyone's time and help in this,  I decided not to delete, as there may be some information in here to help others in their Ipage abantecart 500 internal server error. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #12 on: August 19, 2016, 02:05:05 AM »
Hello.

Thank you for the reply.  If you able to login to your admin and storefront this mean error is false positive. Our developer will contact with you to check why this happen.

Thank you

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #13 on: August 19, 2016, 07:56:18 AM »
BANTEBABY, can you please PM access to your FTP and admin access? I will investigate.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline BANTEBABY

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Fresh reinstall in home directory? A couple simple questions..
« Reply #14 on: August 22, 2016, 06:09:23 PM »
eCommerce Core,

Sent!, sorry for the delay.

 

Powered by SMFPacks Social Login Mod