Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
mc12345678
Fyi, now that I have a moment. To. Write, it was these exact symptoms that identified the need to update the code to work with 1.5.3. All of the same "tests" were performed.
May I suggest reuploading the files? But before doing that, going to tools, developer's toolkit, in thelower left corner inserting: easypopulate_4, then the drop down select admin and do a search. Identify what appears in the firstline of the various files that come back. Sounds like may have had the. Right files initially,but something isn't right now. :/
includes/languages/english/extra_definitions/easypopulate_4.php is v4.0.21
includes/languages/english/easypopulate_4.php is v4.0.21
includes/functions/extra_functions/reg_easypopulate_4.php is v4.0.21
easypopulate_4_split.php, v4.0.21
Everything else is v4.0.23
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
wtashby
includes/languages/english/extra_definitions/easypopulate_4.php is v4.0.21
includes/languages/english/easypopulate_4.php is v4.0.21
includes/functions/extra_functions/reg_easypopulate_4.php is v4.0.21
easypopulate_4_split.php, v4.0.21
Everything else is v4.0.23
Those version numbers appear correct for the way the files have been updated. Have you had any success with the installtion?
It wouldn't make sense, but I even tried to find out if there was a conflict of this version of php with mysqli_ type commands. Here's another thought if you are still having difficulties, andmay have a follow-on question, when inur admin panel, in the upper right is a version button. Towards the bottom of the resulting screen's top part, what version information is there about your ZC? Also, what type of system is this being used on? Something still doesn't seem to be adding up since you said you were able to use this a few days ago, and now there is a problem. :/
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
mc12345678
Those version numbers appear correct for the way the files have been updated. Have you had any success with the installtion?
It wouldn't make sense, but I even tried to find out if there was a conflict of this version of php with mysqli_ type commands. Here's another thought if you are still having difficulties, andmay have a follow-on question, when inur admin panel, in the upper right is a version button. Towards the bottom of the resulting screen's top part, what version information is there about your ZC? Also, what type of system is this being used on? Something still doesn't seem to be adding up since you said you were able to use this a few days ago, and now there is a problem. :/
None of what you are asking me about has changed. None of this explains why, one day it's working perfectly, then suddenly, this. Since EP doesn't effect any of the core files, and no other plugin or module effects EP4 files, what on earth could be causing this?
Re: EasyPopulate 4.0 Support Thread
When easypopulate_4.php does a query for the default language, does it do so directly to the database, or does it call another file in zen-cart first? I ask because I'm wondering if maybe I have a corrupted language file somewhere, or something like that.
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
wtashby
When easypopulate_4.php does a query for the default language, does it do so directly to the database, or does it call another file in zen-cart first? I ask because I'm wondering if maybe I have a corrupted language file somewhere, or something like that.
Good questioning attitude, perhaps you have struck on what the issue may be or how to fix this issue.
It accesses the database directly (most of the functions in EP4 do that, which is partially why it does not count on too much of the ZC files). It looks for the default language by use of the constant DEFAULT_LANGUAGE. When looking at Localization->languages, the default language (if there is one) should have the word (default) next to the Noun name of the language. Take note of the code (typically two letters) next to the language that is/should be the default. Then go verify that the constant DEFAULT_LANGUAGE is set by going to any configuration section, and change the gID to 6.
Then when the Default Language field is selected for edit, enter/verify entered the code noted above.
Re: EasyPopulate 4.0 Support Thread
Quote:
going to any configuration section, and change the gID to 6
What do you mean "any configuration section"? In the database? A file? What is a gID?
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
wtashby
What do you mean "any configuration section"? In the database? A file? What is a gID?
Admin panel, configuration (far left), select for example My Store.
If you look at the URI in your browser you see (typically): mysite/MY_secret_admin/configuration.php?gID=1.
Change the 1 to a 6 and "goto" that page...
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
mc12345678
Admin panel, configuration (far left), select for example My Store.
If you look at the URI in your browser you see (typically): mysite/MY_secret_admin/configuration.php?gID=1.
Change the 1 to a 6 and "goto" that page...
Ok, I understand. I just did that, and my selected default language is correct. en
Should it be something different?
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
wtashby
Ok, I understand. I just did that, and my selected default language is correct. en
Should it be something different?
It could be, but the important thing is that you also have en in the localization->languages area... Is it listed more than once?
Could try running the following script in myPHPadmin prepending your table prefix to the word in red if there is a table prefix.
Code:
SELECT languages_id, name FROM languages WHERE code = 'en';
and identify what/how many rows are returned and the value of languages_id.
Re: EasyPopulate 4.0 Support Thread
Quote:
Originally Posted by
mc12345678
It could be, but the important thing is that you also have en in the localization->languages area... Is it listed more than once?
Could try running the following script in myPHPadmin prepending your table prefix to the word in red if there is a table prefix.
Code:
SELECT languages_id, name FROM languages WHERE code = 'en';
and identify what/how many rows are returned and the value of languages_id.
Running that returned one result, and it was correct. My localization->languages is correct, every thing seems correct. Is there any way to un-install EP4 even though I can't get to the page to click the link? Maybe if I can completely remove all things EP4 and start over, something might fall into place.