Search:

Type: Posts; User: wolfderby

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. 1.5.6 > 1.5.7 define constants going crazy?

    So I'll get 2 already define's comment out the 2nd definitions,

    then get a long list of undefines?

    Any clue where to look?
  2. Re: how do I require application_top.php in folder in admin with a composer package?

    Gotcha good advice. Thanks.
  3. Re: how do I require application_top.php in folder in admin with a composer package?

    So I have this "working" however I was thinking of launching it publicly on a git repo, (ideally to help me get a coding job), but I don't think it's quite there yet.

    Would anyone be interested in...
  4. Re: how do I require application_top.php in folder in admin with a composer package?

    I think it should work if I remove my "hammering in the oID" just haven't done it yet. The various order table's autoincrement value (under operations in phpmyadmin) was high and I couldn't seem to...
  5. Re: how do I require application_top.php in folder in admin with a composer package?

    Issues today: getting the order_id "right"

    Possible solutions:
    Solution "keep it ghetto" > no order object > sql lock the order tables > increment max order_id in sql > run inserts > unlock...
  6. Re: how do I require application_top.php in folder in admin with a composer package?

    not to be anti-social, but the learning curve seems steep..



    $nextOrderId = "SELECT MAX(orders_id)
    FROM `orders`
    LIMIT 1;";
    $orderIdResult = $db->Execute($nextOrderId);
    ...
  7. Re: how do I require application_top.php in folder in admin with a composer package?

    Confused on how to actually add the order object to the database. Here's a super basic version of what I currently have:

    https://github.com/wolfderby/simple_admin_insert_order

    I just started...
  8. Re: how do I require application_top.php in folder in admin with a composer package?

    Thanks again for the input! This morning's endeavor shall be to create the simplest one order manually insertion php script using the order class.
  9. Re: how do I require application_top.php in folder in admin with a composer package?

    this is the groaner section of code I need to objectify ;)



    //THIS BLOCK IS HOW IT SHOULDN'T BE
    $otherSql = " SELECT LAST_INSERT_ID();";
    $newoIDResult =...
  10. Re: how do I require application_top.php in folder in admin with a composer package?

    i need to still look into the last 2 replies but I skimmed code for a few hours this morning and really the only issue with...



    $insertOrderSql = "INSERT INTO " . TABLE_ORDERS .
    ...
  11. Re: how do I require application_top.php in folder in admin with a composer package?

    ...so that sound... from my laptop... it's my bad code. :/ I KNEW IT! (:

    Thanks for the input though, I had a feeling I was going down the wrong path, so I'm glad the community's here to chime...
  12. Re: how do I require application_top.php in folder in admin with a composer package?

    ...flash forward some days...

    I have it sorta working... w/ the gmail api.

    However I'm still new to thinking in an objected oriented design approach.

    Looping through each received email, I'm...
  13. Re: how do I require application_top.php in folder in admin with a composer package?

    ugh so yeah I think I have to delve deep into google's api to get the client object generated correctly? something dealing w/ directory paths I'm guessing.

    Might meditate on this a while and try...
  14. Re: how do I require application_top.php in folder in admin with a composer package?

    so if the token's in either path if it's referenced correctly it will work, however it if make the token.json (which was generated from google's quickstart code) into token.json.bak it not longer...
  15. Re: how do I require application_top.php in folder in admin with a composer package?

    also asking this question on stackoverflow in case it's more appropriate there:...
  16. Re: how do I require application_top.php in folder in admin with a composer package?

    So I have this mashed up and "working" (reading from my gmail and from an orders_amazon table I created in the zen-cart db)

    However, it doesn't automatically create the token.json file as it...
  17. Re: how do I require application_top.php in folder in admin with a composer package?

    If I'm not mistaken they do, but it's to the tune of $40/mo for the API included w/ the professional selling account. I haven't been able to hit a level of success to justify it.
  18. Re: how do I require application_top.php in folder in admin with a composer package?

    Re: Dr Byte's suggestions:
    Cool I'm going to look into IFTTT I have a few of those going for other things not web dev related. Should watch a few introductions to zapier and integromate.

    Re:...
  19. Re: how do I require application_top.php in folder in admin with a composer package?

    currently the only way I can get it to work is w/ a folder in the admin w/ an index.php I'm guessing it's security stuff that's above me. I'm open to other suggestions on approaches. I was also...
  20. Re: how do I require application_top.php in folder in admin with a composer package?

    That and generally to practice using API's. Amazon Sellercentral Pro's $40/mo. for the amazon seller api. :/
  21. Re: how do I require application_top.php in folder in admin with a composer package?

    ...within that folder composer (
    composer require google/apiclient:^2.0) builds out a /vendor folder dir w/ lots of the google api files

    https://developers.google.com/gmail/api/quickstart/php
  22. Re: how do I require application_top.php in folder in admin with a composer package?

    I'm basically trying to mash up this youtube series into the zen-cart admin: https://www.youtube.com/watch?v=j_ilbyXwIzI

    if you follow that youtube series the code comes out like this:...
  23. Re: how do I require application_top.php in folder in admin with a composer package?

    ...so when i try to move out the includes\gmail\credentials.json it creates a forbidden access 403 error for the .json file if I directly navigate to it, and I'm sure the path is correct.
  24. Re: how do I require application_top.php in folder in admin with a composer package?

    I like the idea of putting the gmail api folder within an admin log-in, for assumed security reasons. Not sure if it'd be a risk or not really.
  25. Re: how do I require application_top.php in folder in admin on localhost?

    I seem to have it working, I needed to have just tried to copy the design patterns already within the admin instead of forcing through 1 require.

    basically shooting for /admin/my_script.php
    ...
  26. Re: how do I require application_top.php in folder in admin on localhost?

    So are you saying I should just put it in admin/includes?
  27. Re: how do I require application_top.php in folder in admin with a composer package?

    ^ignore this

    I want to set up a cron job to remove my sold amazon inventory using the "Sold, ship now:" emails from amazon sellercentral.
  28. Re: how do I require application_top.php in folder in admin with a composer package?

    ...seemed to be a google api vendor folder issue (:
  29. Re: how do I require application_top.php in folder in admin with a composer package?

    I'm not sure? first time using google api and composer > "composer require google/apiclient:^2.0"
  30. Re: how do I require application_top.php in folder in admin on localhost?

    seems like it might go that way then...
  31. Re: how do I require application_top.php in folder in admin on localhost?

    this might have worked: require(realpath(__DIR__ . DIRECTORY_SEPARATOR . '../includes/application.php')); but now i'm getting An error occurred: { "error": "unauthorized_client", "error_description":...
  32. Re: how do I require application_top.php in folder in admin on localhost?

    there is no...

    /mysite/admin/myAdminScript/includes/application_top.php

    ...it's in...

    /mysite/admin/includes/application_top.php
  33. Re: how do I require application_top.php in folder in admin on localhost?

    but a simple require('includes/application_top.php'); ends up w/ a Warning: require(includes/application_top.php): failed to open stream: No such file or directory in C:\... (because it's a xampp php...
  34. how do I require application_top.php in folder in admin with a composer package?

    Buildling in https:127.0.0.1/mysite/admin/myAdminScript

    how do I require admin/includes/application_top.php ?

    I've tried...

    require(https:
    require(http:
    require(127.
    require(__DIR__ ....
  35. Automated Importing of Amazon Sellercentral Orders via gmail API?

    Is anyone interested in collaborating on importing amazon orders in as-automated-process-as-possible to within a zen-cart framework?

    Current dev game-plan:

    //sync productid or product model as...
  36. Replies
    8
    Views
    690

    v155 Re: Image manager

    PHP Fatal error: Redefinition of parameter $IMorder in mysite\admin\includes\functions\extra_functions\function_image_manager.php on line 89

    any clue?
  37. Re: Front end>admin edit--Possibly IP address spoofing concern, but man I like this..

    I also have hacks that allow you to live edit the price of products in the shopping cart, and allow you to post date the order, and change the mail-to email address of an old order to only email your...
  38. Re: Front end>admin edit--Possibly IP address spoofing concern, but man I like this..

    so... something like...


    if(isset($_COOKIE['specialAdminKeyCookieName'])){
    //then do cool stuff like show jQuery stock status toggle button,

    //or

    //show checkbox for showing...
  39. Re: Front end>admin edit--Possibly IP address spoofing concern, but man I like this..

    So I've taken to wrapping this logic from a while ago from within a browser cookie that can only be set by logging into the admin to set it. I have some fun hacks to the front end now that add admin...
  40. Re: Moving from live server to localhost issues part 2

    Ok thanks, maybe one day I can do something fancier to make it more secure. I'm creating an if no image file, upload file/camera button on the front end. Goal is to swipe through products w/...
  41. Re: Moving from live server to localhost issues part 2

    Is there a secure way to link to the admin from the front end? I'm trying to add some custom admin functionality to the front-end catalog side. I have it hidden both within a ip address and browser...
  42. Moving from live server to localhost issues part 2

    So I have my site backed up to gitlab.com

    I ssh into my server and pull

    I git bash into my local and pull/push

    ...issue I'm having... w/ hardcoded links to admin from catalog side.... a...
  43. Replies
    3
    Views
    433

    v156 Re: I can't use PayPal with Google Voice

    Paypal's limited my account, from the best I can figure, because I tried to 2 factor authenticate w/ a google voice phone #?

    From Paypal:
  44. Replies
    3
    Views
    433

    v156 I can't use PayPal with Google Voice

    Ouch... added a google voice phone to have boundaries in life... now exiled... it's my only form of payment collection?!
  45. Re: Moving from live server to localhost issues

    thanks for your thoughts/time on it though (:
  46. Re: Moving from live server to localhost issues

    I think it was an issue w/ the .htaccess file RewriteCond and browser caching it.
  47. Moving from live server to localhost issues

    I want to start trying to switch up my workflow to localhosting w/ git and then pushing to github and my server w/ a service hook, as the end goal.

    I've downloaded my files and my database onto my...
  48. Replies
    9
    Views
    642

    Re: Connecting to Amazon and Ebay

    Thoughts on using the "your earnings" email amazon sends, in a text box (could probably pull in w/ gmail api if sent to gmail) then pulling variables/data by parsing by line breaks and looking for...
  49. Replies
    3,210
    Views
    293,233

    Sticky: Re: Uploading NEW Product Attributes

    Ah snap I think I was just messing up the filename on upload. Forgot the prefix!
  50. Replies
    3,210
    Views
    293,233

    Sticky: Re: Uploading NEW Product Attributes

    Yes I've tried chaddro's and yours. The MC git repo seems to only export 6 products for a basic line import, if I'm recalling correctly. Chaddros' exported all but doesn't see my delimiter for...
Results 1 to 50 of 204
Page 1 of 5 1 2 3 4
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR