Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yak39

Members
  • Posts

    105
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Yak39

  1. 2 hours ago, osCommerce-Official said:

    For the time being, did you have a chance to check this page:

    https://wiki.oscommerce.com/index.php?title=Creating_Theme_from_Scratch

    Personally I did - while the step by step is sufficiently clear, I believe it's also a good draft to highlight some "issues":
    look at figure 3: the numbers of menus to customize all the items via editor is really massive, and that's essentially for just a couple of CSS lines of code. That's why I believe the general view over here is that if you want to onboard pro designers you need to provide a clear file structure for a developer.
    That goes especially for widget, where it feels like most of the design architecture is located there.
    That said I also think no one here wants to criticize your choice on having an editor: to be the first time OSC has one I believe is quite impressive and a good compromise that is reminiscent of Divi on WP. But its flexibility and UX limit a lot probably a standard power user. For UI devs instead it's probably  quite limiting.
    What is easier to fix to onboard more community? probably couple of lines to describe structure and components interaction to some developers? 😉

  2. I am sure you guys are all very busy especially in these days of launching. Still it would be great to understand better your strategic direction on this.
    On one hand it's clear that you are pushing for a system really reminiscent of WP's editor (no offense intended but the UI for the editor would still need more than some tweaks), on the other I'm puzzled by the coding structure.
    I could clearly see that:

    • some classes are still generated via html_output.php,
    • most of the rest of the structure is made of widgets - for which having a design guide principle would really be useful to at least tweak into those without recurring to the endless tabs in the editor
    • the widgets are then placed in the YII framework. I'm not familiar with this, either than it's V2 and seems like its frontend grid down the road is still a bit of a Bootstrap mod.

    So just starting by letting understand some developers the folder structure and all the components and their location for the layout management would be already a good progress. Also understanding your intended rules of engagement for the community to possibly trying to support on the improvement on the UX of the editor, too would be great.

  3. On 8/18/2022 at 7:31 AM, mafiouso said:

    https://wiki.oscommerce.com/index.php?title=Design_Technologies_and_Creating_Theme

    if you find anything else please share it in this post.

     

    i am finding it very hard to figure out (learn) how the new themes and layout works. where things are,  what does what. etc. i will figure it out (but i feel others wont)

    i really think its important for devs. to focus help content like how to videos on the subject,  even if its a simple screen cap. of doing stuff so people can reference it.

    without people being able to mod the looks of their site they wont use it.

    i will try share what i can learn, and leave a end user guide to help the next person if i can.

    (no disrespect intended, just feedback)

    I feel like I really need to second that. I find this editing system to be really not flexible. It would be really good to understand from a coding perspective and not from a WYSIWYG perspective, how a bottom-up theme can be built. Even though the grid offers good flexibility it takes quite some times for the Pros to get on board on manually adding and configuring widgets rather than setting their own designs directly from scratch on a local ide and with a json manifesto.
    Do you plan to open up to this kind of tutorial or all the designers will be forced to work onto your tool? 
    Looking at the themes structures from FTP, it seems like there's close to no information about it. 
    The dynamic loading of the content via widgets is very clear, but having another way to edit both widget and the layout system would really be paramount.
     

  4. Hi all, I'm upping this topic for a similar reason:
    I have lost my original admin password, and could not reset it as I did not setup on my test server any mailing capability to go through with the reset.
    From mysql I can see clearly which table and field I should use to reset my password, but I don't know the encryption used by OSC 4 to do so.
    Can anyone assit?
    Thank you

  5. 12 minutes ago, pandrei said:

    You are right. Of course the new OSC must be able to access the old OSC at the same server. But using URL - is the legal and standard method to do it. Have no idea why your hosting provider denies to do that.

    You can try OSCommerce hosting here (its free for 1 month): https://www.oscommerce.com/host-with-oscommerce

    as it turns out it's IP related and probably and IP mirror avoidance system.
    Whitlisting the same IP address I'm on with the server fixed it and brought in a succseful connection.

  6. 6 minutes ago, pandrei said:

    Hm. You should get 401 error as you did in the previous case.

    When I enter your server and any digits I receive 401 - see the image

    It seems the problem in blocked or filtered IP or something like that.

    Image 1.png

    Thank you for testing that.
    My guess is that being both apps (the old OSC and the new) residing in 2 different instances of the same server, something goes wrong with either the absolute path, or the IP just mirroring itself.
    I just wrote to tech support to verify this, but I find it a very odd behaviour. An app shoud still be able to access the other, especially on the same server, just by using relatives

  7. 3 minutes ago, pandrei said:

    It's a good news. So do yet another test:

    Set OSCommerce bridge URL field as your server URL and OSCommerce secure key field as any digits like 111 and click save. What does it report?

     

    I get the same result as my previous post:

    Error while establishing connection: file_get_contents(https://www.carmimari.com/imposc/index.php?): failed to open stream: operation failed

  8. Hi pandrei - thanks for the assist!
    I see where you're going with this:
    1- already tried the result is always the one reported above

    2- the error is "secure key is empty" as it should

    3- it gives a 401 back, evidently signifying it connects correctly to your address, but clearly is rejected due to the invalid key

    So I'm guessing you're pointing me to check what's going on in the old OSC and its bridge..

  9. On 7/28/2022 at 10:52 AM, Ivan Holbi said:

    Hi Francesco,

    You are welcome.

    Please make sure you correct the URL in the OscLink settings and provide us with the error from the link for us to check it further.

    Best regards,

    Ivan

    Hi Ivan, unfortunately the error remains the same, independently from any action taken (including having a look at yii file in the osc bridge). It just seems like that OSC4 is not even attempting to connect. 
    "

    Error while establishing connection: file_get_contents(https://www.carmimari.com/imposc/index.php?): failed to open stream: operation failed
  10. Just to add, I have removed any blacklisted or potentially blocked IPs that could prevent the bridge query to work correctly cross site.
    Despite this, there is no progress. Specifically, It seems like on OSC4's admin panel the script is not really querying the bridge placed in the old OSC release, as there is no evidence of access in the server's logs.

    And about the URL query suggested, this is the result:
    {"version":"1.53","count_order_status":"59","logs":[...]}

  11. 5 minutes ago, Ivan Holbi said:

    Hi Francesco,

    You are welcome.

    We checked and it looks like you indicate the wrong URL. It should be something like:

    https://www.domain.com/imposc/index.php

    Please open this link in the browser. After that you should get:

    "Please check Authorization topic in readme file"

    If it works as it should please also enter the following:

    https://www.domain.com/imposc/index.php?r=site/status&key=YOUR-SECKEY

    You should get something similar as per the attached screenshot.

    Best regards,

    Ivan

    int_1.jpg

    Hi Ivan, thank you: the URL I put in here was a fake one, so some leftover were there, but the url inserted in the bridge field was correct.
    So much so that I went on and the script in index.php returns the correct values expected.
    I'm PM you the resulting log file. From a quick looks of it seems like my VPS has an IP filtering system active, even though both environments are residing as separate apps inside the same server.
    If you confirm this, I'll have a look at my config and try to remove IP filtering.

     

  12. Just to give an intermediate feedback - with the plugin download available all is much more clear.
    If I could share a constructive feedback I would suggest to unify and clarify the readme and wiki page, there's a lot of back and forth between those 2.

    That said while the plugin uploads with no problems and generates a SEC code as well, it seems like the new OSC is not able to access the bridge. 

    Independently from the secure method selected, the error remains:

    Quote

    Error while establishing connection: file_get_contents(https://www.domain.com/public_html/imposc/index.php?): failed to open stream: operation failed

    • Both OSCs are on the same virtual server
    • In the host PHP error Logs where OSC4 no errors are generated
    • In the destination "old" OSC host there's no access log that makes me think the connection is happening
    • of course "domain.com" is a fake domain I put in here

    Is there a way I can self troubleshoot the issue? I noticed on the bridge's configure file there are some optional config parameters.
    Thanks again for the support

  13. As an additional note, the Wiki page refers to a readme file which is not linked anywhere. I assume the same page IS the wiki, and the instructions refer to retrieving the secure token which I assume is the one automatically generated in the Import page of OSCV4.
    The point is that it's not quite clear what should I do with it, once I have it, especially with the "web version" not the command version of the import.
    Should I paste this key somewhere in my previous OSC release?
    thanks again

  14. 7 hours ago, osCommerce-Official said:

    admin/extensions?module=OscLink

    Could you please try this URL in the backend? osCommerce is supplied with the importer included 

    Hi! I did, but it is my understanding from the instruction that you still need a bridge on the old Osc?
    Or at least this menu makes me think I do:
    image.png.a8d10f9d8bda936f909c16b917ce9ff6.png

    At the moment I just parted in that filed my current OSC release (an old 2.2.x) but I get an error as soon as it tries to retrieve the data. (Server: 0 , or some other times: Error while establishing connection: file_get_contents)

    On top of that, also this field makes me think that there should be some sort of Auth token onto the old version?
    OSCommerce secure key (please read Authentication topic of readme file into OSC bridge directory)

×
×
  • Create New...