vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microCART: Shopping System for vB4 (https://vborg.vbsupport.ru/showthread.php?t=256723)

Martyn1983 06-19-2011 06:44 PM

Just tried to create an invoice now get the following error when viewing invoices:

Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT * FROM user WHERE userid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Sunday, June 19th 2011 @ 08:43:06 PM
Error Date : Sunday, June 19th 2011 @ 08:43:06 PM
Script : http://fiat-scotland.com/fiat/upload...hp?do=invoices
Referrer : http://fiat-scotland.com/fiat/upload...dex.php?do=nav
IP Address : 90.213.33.14
Username : Martyn
Classname : vB_Database
MySQL Version : 5.0.91-community

josantos 06-20-2011 04:21 PM

By trying to upload a file apears one error.
What means this error:

Warning: rename(/tmp/phpn2YGoN,/home/********/public_html/downloads/Clica_aqui_!_d19938f7b8f34bc798a7aa63f4dfa736.rar) [function.rename]: Permission denied in [path]/admincp/microcart_admin.php on line 1069

What can I do to get it out? is the path link wrong ??

micheal332001 06-20-2011 05:58 PM

you need to change the chmod setting to 777 on the downloads folder.

josantos 06-21-2011 04:24 PM

Quote:

Originally Posted by micheal332001 (Post 2210507)
you need to change the chmod setting to 777 on the downloads folder.

It works ! Thank You !

GameVB 06-23-2011 03:06 AM

I get this

Parse error: syntax error, unexpected $end in /home/gamerhu1/public_html/community/admincp/microcart_admin.php on line 468

micheal332001 06-23-2011 05:03 AM

Quote:

Originally Posted by Gamerhut (Post 2211614)
I get this

Parse error: syntax error, unexpected $end in /home/gamerhu1/public_html/community/admincp/microcart_admin.php on line 468

This is down to the file not being uploaded right please reupload the microcart_admin.php file and this should fix the problem.

Martyn1983 06-23-2011 10:44 PM

Michael,

Any joy with any of the issues a coupel of pages back? RE The layout, I reckon if I could change the colour of the text with regards the price of products (see screenshot on page 37) that would do for now.

The database error is causing me more concern at the moment though, any ideas?

basilrath 06-25-2011 03:05 PM

Firefox --- the right block is off page slightly

maybe a simple css fix

miszko 07-03-2011 02:25 PM

How I can set currency prefix on the right side (default is on the left)?

clubvr4 07-05-2011 11:19 AM

Feature Request

Would it be possible for new thread creation on new purchase?

I.e. when someone purchases something a new thread is created in a forum?

Thanks

zm5398204 07-06-2011 05:03 PM

is There any way to add a search option to the admin products section and a way to add a barcode to products to make it easier to find them when you have a lot of products

stefan1994 07-07-2011 05:19 AM

Quote:

Originally Posted by micheal332001 (Post 2211634)
Quote:

Originally Posted by Gamerhut (Post 2211614)
I get this
Parse error: syntax error, unexpected $end in /home/gamerhu1/public_html/community/admincp/microcart_admin.php on line 468

This is down to the file not being uploaded right please reupload the microcart_admin.php file and this should fix the problem.

I also get this
Parse error: syntax error, unexpected $end in D:\path\to\microcart_admin.php on line 2781
I reuploaded and downloaded the files several times now, the file is exactly like in the zip file. Maybe it is because i use Windows?

micheal332001 07-08-2011 06:53 AM

Quote:

Originally Posted by zm5398204 (Post 2217470)
is There any way to add a search option to the admin products section and a way to add a barcode to products to make it easier to find them when you have a lot of products

Yes there is a search being added into the commercial version but not the free version, as im not supporting the free version any more as i dont have the time to support free versions.
i have to support me paying members before anything else and this is taking all my time up as im making new versions of these scripts.

Quote:

Originally Posted by stefan1994 (Post 2217665)
I also get this
Parse error: syntax error, unexpected $end in D:\path\to\microcart_admin.php on line 2781
I reuploaded and downloaded the files several times now, the file is exactly like in the zip file. Maybe it is because i use Windows?

send me your email address and i'll email you a new zip file.

inigo 07-08-2011 09:23 AM

Hi, great mod.

I have recently installed it, and I am now trying different options,...

I have one question, Is it possible to make the option field of a product not optional?

For example if the product is a Tshirt, the size of the T-shirt as obligatory field,

Is it possible?

Thanks,

Fr4n-FX 07-12-2011 09:49 AM

I have this error:

Code:

Invalid SQL:
UPDATE vB_microcart_carts
++++++++++++++++++++++++SET price=*8, discount=*8, quantity=8
++++++++++++++++++++++++WHERE id='74';

MySQL Error ++: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*8, discount=*8, quantity=8
++++++++++++++++++++++++WHERE id='74'' at line 2
Error Number +: 1064


Fr4n-FX 07-14-2011 06:56 AM

HTML Code:

Invalid SQL:
UPDATE vB_microcart_carts
++++++++++++++++++++++++SET price=*6, discount=*6, quantity=6
++++++++++++++++++++++++WHERE id='94';

MySQL Error ++: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*6, discount=*6, quantity=6
++++++++++++++++++++++++WHERE id='94'' at line 2
Error Number +: 1064
Request Date +: Thursday, July 14th 2011 @ 09:58:37 AM
Error Date +++: Thursday, July 14th 2011 @ 09:58:37 AM
Script +++++++: http://xxxxx/cart.php?do=cart&action=changequantity&id=94&quantity=6
Referrer +++++:
IP Address +++: 66.249.66.109
Username +++++: No Registrado
Classname ++++: vB_Database
MySQL Version :

Is a googlebot and this error emails me more than 15 times on a day, pls help.

RcHelp 07-15-2011 11:44 PM

I have deleted the mysql tables, I have deleted every file and uninstalled the microcart, but I still get these same errors. I have done everythign you have said to do in this entire thread, and nothing is working. Hope you can help out here.

Code:

Database error in vBulletin 4.1.4:

Invalid SQL:
INSERT INTO `microcart_product_types` SET id='1', name='Downloadable', shipping='0', downloads='1';

MySQL Error  : Duplicate entry '1' for key 1
Error Number  : 1062
Request Date  : Friday, July 15th 2011 @ 04:57:22 PM
Error Date    : Friday, July 15th 2011 @ 04:57:22 PM
Script        : http://rc-help.com/admincp/plugin.php?do=productimport
Referrer      : http://rc-help.com/admincp/plugin.php?do=productadd
IP Address    :
Username      : Tony
Classname    : vB_Database
MySQL Version : 5.0.91

This is the first code that I get after I dump the tables. If I try to install after I get this code, I get the code above. We have traced it to the usergroup table, but don't know if we can delete the microcart in there or not. Any help would be great.

Code:

Database error in vBulletin 4.1.4:

Invalid SQL:
ALTER TABLE usergroup ADD microcart INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error  : Duplicate column name 'microcart'
Error Number  : 1060
Request Date  : Friday, July 15th 2011 @ 06:14:15 PM
Error Date    : Friday, July 15th 2011 @ 06:14:15 PM
Script        : http://rc-help.com/admincp/plugin.php?do=productimport
Referrer      : http://rc-help.com/admincp/plugin.php?do=productadd
IP Address    :
Username      : Tony
Classname    : vB_Database
MySQL Version : 5.0.91

Sorry about all the posts, but after backing up my database, and going on a deleting party, I deleted everything that said "microcart" and "mh_******" in the database, usergroup and user tables. After I did all of that, it finally installed. I'm going to give this a try, and if it works the way I think it will, then I will order the commercial version to support the coder. And I have to say, it's well worth what they are wanting for it.

RcHelp 07-16-2011 10:51 AM

Now I have a whole nother problem. I did purchase the commercial version like I said I would, but I still have a problem with it as I did on the free version. When I click to pay via PayPal, I get the error you see below. I have tried everything to get this to work, and hope you guys can help me out here. I want to take this cart live, but can't do it if people are not able to pay for anything.

Code:

Invalid Redirect URL (https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=tonydnewlin%40aol.com&item_name=Helicopter+Setup%2C+&amount=75.00&handling=0&shipping=0&tax=0&quantity=1?cy_code=USD&return=http%3A%2F%2Frc-help.com%2Fcart.php&item_number=Tony-16Jul11-DCFFEDN4GW98HNNMERV?ify_url=http%3A%2F%2Frc-help.com%2Fcart_gateway.php%3Fmethod%3Dpaypal)

thunderclap82 07-21-2011 03:14 PM

Two questions: how do I remove the e-Shop button in the Navbar? Also, has this been updated for vB 4.1.4 yet? I saw people were having compatibility issues, but the description doesn't say.

lild100 07-23-2011 09:05 PM

does this shop allow me to have quantities and sizes next to the product?

Successfulsteps 07-23-2011 09:56 PM

Will this work with this Point Market items? (4.1.4)

Christos Teriakis 07-24-2011 04:38 PM

Quote:

Originally Posted by RcHelp (Post 2221161)
Now I have a whole nother problem. I did purchase the commercial version like I said I would, but I still have a problem with it as I did on the free version. When I click to pay via PayPal, I get the error you see below. I have tried everything to get this to work, and hope you guys can help me out here. I want to take this cart live, but can't do it if people are not able to pay for anything.

Code:

Invalid Redirect URL (https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=tonydnewlin%40aol.com&item_name=Helicopter+Setup%2C+&amount=75.00&handling=0&shipping=0&tax=0&quantity=1?cy_code=USD&return=http%3A%2F%2Frc-help.com%2Fcart.php&item_number=Tony-16Jul11-DCFFEDN4GW98HNNMERV?ify_url=http%3A%2F%2Frc-help.com%2Fcart_gateway.php%3Fmethod%3Dpaypal)

sandbox.paypal.com is the developers' site of PayPal, so most probably you've setup PayPal payments in Test mode. You need to turn it off (Test mode: No).

DJCC 08-01-2011 02:40 PM

I am getting this when trying to open the shop link

Warning: require_once(./includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/cart.php on line 66

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_wysiwyg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/djccco/public_html/forums/cart.php on line 66

RcHelp 08-05-2011 10:14 PM

Yes, Sandbox is a test site just to test the function of the process without money exchanging hands. It did this in regular mode as well. After a lot of code writing, we finally got it to work on my site, adn it's up and running.

lild100, you can use quantity, and you can add different boxes under it for say like shirt sizes or something.

I will tell you guys this. It's worth the money to purchase this program. If it doesn't work, he will work on it until it does. Nothing but 5 stars for this guy from me.

deverill2010 08-06-2011 03:24 PM

The discount doesnt seem to be working on this, even though I have addedd a discount amount nothing changes..

RcHelp 08-06-2011 04:07 PM

You have to add the user groups just under the discount box that you are going to allow the discount to.

deverill2010 08-07-2011 12:42 PM

ah ok i get you i thpught that was for only allowing certain groups, didnt realise you had to use that if you just want to set a blanket discount for everyone. ta

Bill Thebert 08-10-2011 03:22 AM

I'm trying to install the June 13, 2011 version on vB 4.1.5 PL2 (on a Windows IIS server).

The product installs fine. The microcart portion of the AdminCP appears normally. The "General Options" portion loads and saves my changes.

Both the "Categories" and the "Product & Services" segments, however, return the following error:

PHP Parse error: parse error in D:\www\ . . . \admincp\microcart_admin.php on line 2780

I need help. Nothing I've tried will make this portion of the script run. The store displays fine (so far), but I can't add categories or products. The usergroup permissions part works fine.

Second question (possibly related to the first):

I don't understand what is being asked of me in \microcart\editor\assetmanager\settings.php

I don't know how to edit it, what answers to give, because I don't understand what it's asking me. What ARE "$sBase0, $sBase1, $sBase2, $sBase3"?

AndyP 08-14-2011 06:59 AM

Quote:

Originally Posted by RcHelp (Post 2221161)
Now I have a whole nother problem. I did purchase the commercial version like I said I would, but I still have a problem with it as I did on the free version. When I click to pay via PayPal, I get the error you see below. I have tried everything to get this to work, and hope you guys can help me out here. I want to take this cart live, but can't do it if people are not able to pay for anything.

Code:

Invalid Redirect URL (https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=tonydnewlin%40aol.com&item_name=Helicopter+Setup%2C+&amount=75.00&handling=0&shipping=0&tax=0&quantity=1?cy_code=USD&return=http%3A%2F%2Frc-help.com%2Fcart.php&item_number=Tony-16Jul11-DCFFEDN4GW98HNNMERV?ify_url=http%3A%2F%2Frc-help.com%2Fcart_gateway.php%3Fmethod%3Dpaypal)

I receive the error for sandbox and the live version. Is there an easy fix?

RcHelp 08-14-2011 12:57 PM

An easy fix? No. You need to go to the designers website located HERE and submit a ticket. Tell him to do the same fix that he did for RcHelp. This is the exact same issue I had, and he rewrote the code for my site. It should be the same file. Hope this helps.

v8huntn 08-14-2011 10:12 PM

Quote:

Originally Posted by AndyP (Post 2233298)
I receive the error for sandbox and the live version. Is there an easy fix?

I also get this on my website.

AndyP 08-15-2011 10:32 PM

An easy fix? Yes. ;)

Thanks RcHelp. I reported the bug and got the following answer from someone.

Try this, v8huntn.
Quote:

The fix I use is, go to: Admin CP > Settings > Options > Site Name / URL / Contact Details
In the 'Redirect Domain Whitelist' field, add:
https://www.paypal.com
https://www.sandbox.paypal.com
The redirect works fine for me now.

RcHelp 08-15-2011 10:44 PM

Great deal, glad there is actually an easy fix for this. Wish I would have known that before lol.

Raeven 08-16-2011 04:13 AM

I get the error (in the Admin CP)

Parse error: syntax error, unexpected $end in C:\---more path that is correct---\admincp\microcart_admin.php on line 2781

I know it worked once, at the time of vB 4.0.7 (i still had these files lieing around, but they also give the same error now - just a different line, but it also points to the end of the document).
Tried on vBulletin 4.1.5

I was using PHP 5.3.3 and updated to 5.3.6 (didn't helped).

Also a note:
The "functions_wysiwyg.php" (in the includes folder) is not anymore included in a fresh install of 4.1.5 (i copied it over from an older vBulletin backup)

HMBeaty 08-16-2011 04:21 AM

Quote:

Originally Posted by Raeven (Post 2234027)
unexpected $end

That error means there is an incomplete file. Reupload your files and try again

Raeven 08-16-2011 05:23 AM

Did that already, also with the Version without the a in the end + the old file i still had, and that one worked back then (now it has the same error).

No offense, but reading my entire message, would have helped ;).

//edit: That Admin CP file also causes my Apache to crash (according to logs + its reproducable (around every 4th-5th try I try to view that part, Apache crashes) - both updated and old files that did run for 6 Months just fine)

demo7up 08-17-2011 07:09 PM

hi i installed the block but i cant get it to show are there any specific settings or guide i need to follow?

micheal332001 08-18-2011 06:10 AM

Quote:

Originally Posted by Raeven (Post 2234027)
I get the error (in the Admin CP)

Parse error: syntax error, unexpected $end in C:\---more path that is correct---\admincp\microcart_admin.php on line 2781

I know it worked once, at the time of vB 4.0.7 (i still had these files lieing around, but they also give the same error now - just a different line, but it also points to the end of the document).
Tried on vBulletin 4.1.5

I was using PHP 5.3.3 and updated to 5.3.6 (didn't helped).

Also a note:
The "functions_wysiwyg.php" (in the includes folder) is not anymore included in a fresh install of 4.1.5 (i copied it over from an older vBulletin backup)

i will be updating this to work with the old and new editor within the next few days.

Quote:

Originally Posted by Bill Thebert (Post 2231647)
I'm trying to install the June 13, 2011 version on vB 4.1.5 PL2 (on a Windows IIS server).

The product installs fine. The microcart portion of the AdminCP appears normally. The "General Options" portion loads and saves my changes.

Both the "Categories" and the "Product & Services" segments, however, return the following error:

PHP Parse error: parse error in D:\www\ . . . \admincp\microcart_admin.php on line 2780

I need help. Nothing I've tried will make this portion of the script run. The store displays fine (so far), but I can't add categories or products. The usergroup permissions part works fine.

Second question (possibly related to the first):

I don't understand what is being asked of me in \microcart\editor\assetmanager\settings.php

I don't know how to edit it, what answers to give, because I don't understand what it's asking me. What ARE "$sBase0, $sBase1, $sBase2, $sBase3"?

there is nothing wrong with the cart system,
the reason you are getting this is that you need to edit the file \microcart\editor\assetmanager\settings.php to your server settings for it to work.

the commercial version does not use this editor any more so this problem has been taken out.

Boofo 08-18-2011 08:51 AM

Any way to have this show an initial amount (like 5 chairs) of an item and how many are left after each sale (4 chairs, etc.)?

AndyP 08-19-2011 01:40 AM

I just came across an issue. I have a product that has a discount for certain usergroups. This product also has optional addons that do not get a discount.

When someone from the usergroup buys the original product and an addon, they get the discount for the product, BUT they also get the same discount amount for the addon as well, which shouldn't happen.

I couldn't find a solution by searching this thread, so I can create another bug report, if you want.


All times are GMT. The time now is 09:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01799 seconds
  • Memory Usage 1,855KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete