AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Alstoj79 on January 18, 2016, 10:36:20 AM

Title: New To Abantecart - Please Help!
Post by: Alstoj79 on January 18, 2016, 10:36:20 AM
Hi,

I am new to all this so please bear with me.
I have a website hosted on with namesco, it is a Linux multi domain hosting package ( I was going to have 2/3 different websites) but currently have only one.
It says it is an Apache http server.
I have built a static page website using dreamweaver and my /Web folder. This is were the install of Abantecart is, location of Abantecart is in /web/Abantecart. this was the default location when I installed abantecart through namesco control panel.
Originally I downloaded version 1.2.4 through the server 1 click installs, then once that was done I upgraded to 1.2.5. I had yet to set anything up as I thought it would be better to upgrade to the new version before adding products and setting it up.

So my problems are now...
1, 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.
     I have had a look through the forum to rectify this but just can not figure it out!!

2, Incorrect config.php file permissions - /var/www/web/AbanteCart/system/config.php file needs to be set to read and execute modes to keep it secured from editing!
How do I alter the permissions to rectify this. All I have is the Abantecart control panel or my file manager on my Namesco server (I can only view or edit the code with this)

3, Incorrect index.php file permissions - /var/www/web/AbanteCart/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!
Again, I do not know how to alter the permissions for this.

4, I have tried to embed a product on a test page international-tooling.co.uk/Pages/Xuron_Pages/Test_Xuron_Wire_Cutters1_170-11_Microshear_Range.html
When I open the product to embed the code I do not see the preview in the pop up window, also I am trying to add an Add to Cart button to the left of the product, I have only tried it with the top product so far and have had no success.

Please can someone help?

does it matter that I have not set up any payment gateways yet? - I do have a company paypal account, should I use this for the time being?

Thanks
Title: Re: New To Abantecart - Please Help!
Post by: abantecart on January 18, 2016, 09:54:46 PM
[/u]1, 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.
     I have had a look through the forum to rectify this but just can not figure it out!!
Check that your default session directory is writable:
Default is /tmp directory.
See sessions.save_path  in php.ini or with phpinfo();

2, Incorrect config.php file permissions - /var/www/web/AbanteCart/system/config.php file needs to be set to read and execute modes to keep it secured from editing!
How do I alter the permissions to rectify this. All I have is the Abantecart control panel or my file manager on my Namesco server (I can only view or edit the code with this)
Set this file  permission to rx-rx-rx (555)

3, Incorrect index.php file permissions - /var/www/web/AbanteCart/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!
Again, I do not know how to alter the permissions for this.
Set this file  permission to rx-rx-rx (555)

4, I have tried to embed a product on a test page international-tooling.co.uk/Pages/Xuron_Pages/Test_Xuron_Wire_Cutters1_170-11_Microshear_Range.html
When I open the product to embed the code I do not see the preview in the pop up window, also I am trying to add an Add to Cart button to the left of the product, I have only tried it with the top product so far and have had no success.
I did not see embed in the link. Can you include link with embed that you have issue with?
Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 19, 2016, 06:13:52 AM
Hi,
Sorry been away for a couple of days.

Thanks for the replies, but how do I check that my default session is writeable? please instruct me.
How do I set file permissions to 555? I have no PHP editor unless I can do it through dreamweaver?

The link to my test page is international-tooling.co.uk/Pages/Xuron_Pages/Test_Xuron_Wire_Cutters1_170-11_Microshear_Range.html and the code should be on line 263 or so.

Do I need any other code on that page?

Thanks

session.save_path Local Value is - 1;/var/lib/php/session, Master Value -  is 1;/var/lib/php/session
Title: Re: New To Abantecart - Please Help!
Post by: Basara on January 19, 2016, 06:22:52 AM
Hi,
Sorry been away for a couple of days.

Thanks for the replies, but how do I check that my default session is writeable? please instruct me.
How do I set file permissions to 555? I have no PHP editor unless I can do it through dreamweaver?


About session check with your hosting support.
For the file permissions you dont need to edit files. You need to set file permissions via FTP manager or hosting Cpanel filemanager https://www.a2hosting.com/kb/cpanel/cpanel-file-features/cpanel-file-manager/file-permissions
Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 19, 2016, 06:44:18 AM
Hi,
Sorry been away for a couple of days.

Thanks for the replies, but how do I check that my default session is writeable? please instruct me.
How do I set file permissions to 555? I have no PHP editor unless I can do it through dreamweaver?


About session check with your hosting support.
For the file permissions you dont need to edit files. You need to set file permissions via FTP manager or hosting Cpanel filemanager ww.a2hosting.com/kb/cpanel/cpanel-file-features/cpanel-file-manager/file-permissions

Ok, I have amended the permissions to 755, Read, write, execute - Read,write - Read,write.  It wouldn't let me change the first one to only Read,Write.

Have you been able to check the embed code?

Thanks
Title: Re: New To Abantecart - Please Help!
Post by: Basara on January 19, 2016, 08:37:39 AM

Ok, I have amended the permissions to 755, Read, write, execute - Read,write - Read,write.  It wouldn't let me change the first one to only Read,Write.

Have you been able to check the embed code?

Thanks

If it doesnot allow you to change permission - ask your hosting to help because looks like they limit your account.
Regarding embed on your page I see javascript error
Code: [Select]
SyntaxError: unterminated string literal
$('#abc_991 .abantecart_blurb').html('Xuron Patented Shear cutting greatly red
Could you please check blurb (short description) for your embed product. Possibly some html or special characters prevent loading
Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 19, 2016, 09:01:22 AM
Hi,
I don't think I included the blurb when I selected the embed button on the product page. The below is what I selected.
Is there an error in the coding when I select the embed button?

      <div class="abantecart_price"></div>
      <div class="abantecart_quantity"></div>
      <div class="abantecart_addtocart"></div>

Would it still try to load the Blurb part?
this si what is in the Blurb part:
Xuron Patented Shear cutting greatly reduces cutting effort while providing the shear cut desirable in electronics assembly work.
Less cutting effort means fewer fatigue related injuries and complaints.

I did manage to change the permissions of the files. It was just that I initially didn't know how to access it!!

Thanks
Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 20, 2016, 06:06:57 AM
anybody???
Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 20, 2016, 12:04:37 PM
Hi,

I have been experimenting with the permissions of the file and folders. I have now set everything to 777 - Read-Write_execute.
The warning messages still come up.
so does 1, 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. from original post.

I have replaced the PHP file from another forum post and still doesn't clear it.

Seriously some real issues with 1.2.5. can I revert to version 1.2.4 if it was more stable?

Thanks

Title: Re: New To Abantecart - Please Help!
Post by: Alstoj79 on January 22, 2016, 05:58:28 AM
Ok,

As good as Abantecart seems, the errors that keep coming up in v1.2.5 are doing my head in. So now going to try another cart!!

so long... for now... never know, I may be back!
Title: Re: New To Abantecart - Please Help!
Post by: Basara on January 22, 2016, 06:50:39 AM
Hello.
You can easily disable this warnings in case you have not glue what is for. Go to System > Settings > System and disable System Check setting. But we recommended to resolve this warnings anyway