If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Started by divavocals on 4 Dec 2010, 6:07 PM · Views: 84,220

Results 561 to 580 of 660
13 Aug 2012, 1:12 PM
#561
inkvine avatar

inkvine

New Zenner

Join Date:
Aug 2012
Posts:
4
Plugin Contributions:
0

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Whoops! I think I should point out that two things:

  1. I accidentally put v4.0 in the subject of my post. I'm using v3.0.
  2. Edit orders works perfectly when logged in as a superuser.
    I've got a metting with a client tommorow, so if anyone has a workaround (temporary, even frankenstienish, I can fix it properly later) just so I don't confuse my client.
    thank you, thank you!
13 Aug 2012, 1:36 PM
#562
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

inkvine:

Whoops! I think I should point out that two things:

  1. I accidentally put v4.0 in the subject of my post. I'm using v3.0.
  2. Edit orders works perfectly when logged in as a superuser.
    I've got a metting with a client tommorow, so if anyone has a workaround (temporary, even frankenstienish, I can fix it properly later) just so I don't confuse my client.
    thank you, thank you!Read back through this thread.. (alwys a good idea BEFORE install any add-on) v3.0 isn't compatible with v1.5..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Aug 2012, 4:19 PM
#563
inkvine avatar

inkvine

New Zenner

Join Date:
Aug 2012
Posts:
4
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Heh. didn't see that. I'm usually pretty good at that. Well, I did install the version 4.0.2 from your site, thanks for all the hard work, I WILL donate after this project is finished (it's only fair). Unfortunately, nothing has changed, except that comment bug (so at least that means version 4 was installed correctly). So still no access to editing an order with any other profile other than a superuser. Any thoughts?

18 Aug 2012, 11:02 AM
#564
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I don't know what happened but i have my Edit order which isn't working anymore... i have added a script called: performance

and now when i hit edit order that give me this url:
http://www.storeurl/store/MYADMINFOLDER/FILENAME_ORDER_EDIT.php?page=1&oID=15802&action=edit

at the end and bring me to my store main page.. i have uninstalled and install it again 3 times and still nothing.. the url look weird once i have uploaded the order.php in my admin folder?

Also i'm on 1.3.9 as i'm slowly upgrading my huge store.. :(

don' t know what to do :(

18 Aug 2012, 11:04 AM
#565
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

It looks like you clobbered includes/filenames.php and removed the define for the Edit Orders page.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Aug 2012, 11:22 AM
#566
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

swgy what do you mean? cuz when i see this problem i just removed the edit order from my store and did a new install, did it 3 times, ans still the same problem.. :(
the path change only when i upload the order.php in the admin folder ...

18 Aug 2012, 3:50 PM
#567
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

inkvine:

Heh. didn't see that. I'm usually pretty good at that. Well, I did install the version 4.0.2 from your site, thanks for all the hard work, I WILL donate after this project is finished (it's only fair). Unfortunately, nothing has changed, except that comment bug (so at least that means version 4 was installed correctly). So still no access to editing an order with any other profile other than a superuser. Any thoughts?

Nope.. would have to test you particular scenario to see if I can replicate your result. Been a bit tied up so I'm not sure when I'll be able to test this out.. hoping someone else has some ideas in the meantime...

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Aug 2012, 3:59 PM
#568
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

swguy:

It looks like you clobbered includes/filenames.php and removed the define for the Edit Orders page.

lilly06:

swgy what do you mean? cuz when i see this problem i just removed the edit order from my store and did a new install, did it 3 times, ans still the same problem.. :(
the path change only when i upload the order.php in the admin folder ...what he is saying is that (based on your initial post) you've installed something which probably modified some of the same files used by Edit Orders. You have inadvertently removed code Edit Orders needs. That is why you get the odd URLs. The odd URL means that required code in another file is missing.

Please try re-doing your Edit Orders install. Please be sure that when installing other add-ons which modify the SAME files as other add-ons you've installed that you use a file comparison program as we suggest in the readme file for Edit Orders..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

19 Aug 2012, 1:11 AM
#569
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Thank you so much for answering me , well i use zencart since 3 years, and the module performance has been installed by the creator and no files in common and no rewritten files as i just checked..
as i use your module edit order daily!! i love it! and just installed it in a new zencart with 1.5 this time..

Hope i can fix this ..

DivaVocals:

what he is saying is that (based on your initial post) you've installed something which probably modified some of the same files used by Edit Orders. You have inadvertently removed code Edit Orders needs. That is why you get the odd URLs. The odd URL means that required code in another file is missing.

Please try re-doing your Edit Orders install. Please be sure that when installing other add-ons which modify the SAME files as other add-ons you've installed that you use a file comparison program as we suggest in the readme file for Edit Orders..

19 Aug 2012, 1:26 AM
#570
lilly06 avatar

lilly06

New Zenner

Join Date:
Dec 2010
Location:
monaco
Posts:
40
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

well i just backup my admin before the performance module, and the edit is working again, so i 'm going to contact the script maker to see what was the problem...

thanx again for help!

lilly06:

Thank you so much for answering me , well i use zencart since 3 years, and the module performance has been installed by the creator and no files in common and no rewritten files as i just checked..
as i use your module edit order daily!! i love it! and just installed it in a new zencart with 1.5 this time..

Hope i can fix this ..

19 Aug 2012, 4:54 AM
#571
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

lilly06:

well i just backup my admin before the performance module, and the edit is working again, so i 'm going to contact the script maker to see what was the problem...

thanx again for help!

If you are saying the performance module author installed the performance module I would venture to say that he removed or modified files used by Edit Orders and caused the issue you had.. (see Scott's original reply to you)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Aug 2012, 4:19 PM
#572
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I tried to install Edit Orders as instructed.

I did get the message that the program successfully installed. However I get a blank page going into "Orders"

The Debug error checkers says

[22-Aug-2012 09:59:14] PHP Warning: require(includes/languages/english/order_status_email.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/XXX/public_html/XXXX/includes/languages/english/orders.php on line 10
[22-Aug-2012 09:59:14] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/order_status_email.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXX/public_html/XXXX/includes/languages/english/orders.php on line 10

22 Aug 2012, 5:51 PM
#573
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . 'order_status_email.php');[/QUOTE]

line 10 in admin/includes/languages/english/orders.php

22 Aug 2012, 6:18 PM
#574
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

milobloom:

require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . 'order_status_email.php');

> 
> line 10 in admin/includes/languages/english/orders.php
Delete the line.. (BTW, the forum code tags work better when quoting code)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Aug 2012, 7:14 PM
#575
vandydavid avatar

vandydavid

New Zenner

Join Date:
May 2007
Posts:
24
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

GREAT ADD-ON. I have a client who wants to know when they edit an order - it puts a Modified Order * next to the information...is this at all possible? Am I missing something?

23 Aug 2012, 8:22 PM
#576
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

vandydavid:

GREAT ADD-ON. I have a client who wants to know when they edit an order - it puts a Modified Order * next to the information...is this at all possible? Am I missing something?
It's software.. Nearly anything you need it to do is possible.. However, this requires some modifications to Edit Orders to achieve.. I don't know what specifically is required to add this specific functionality, but perhaps another community member has some ideas they wish to share.. Your other option is to hire a developer to make these changes for you..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

29 Aug 2012, 9:35 PM
#577
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Just installed edit orders 4.02 into my test environment. The installation went very smooth!

I would recommend removing the "Thumbs.db" files from image locations in your zip file (maybe a little picky) :D

I have found a few minor issues related to adding products to an existing order. I've attached a patch file of changes I needed to make to admin/edit_orders.php. If I find any other bugs during my testing and integration (with some custom pricing modules), I'll pass any fixes I make your way.

[Attachment no longer available]

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

29 Aug 2012, 10:06 PM
#578
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

lhungil:

Just installed edit orders 4.02 into my test environment. The installation went very smooth!

I would recommend removing the "Thumbs.db" files from image locations in your zip file (maybe a little picky) :D

I have found a few minor issues related to adding products to an existing order. I've attached a patch file of changes I needed to make to admin/edit_orders.php. If I find any other bugs during my testing and integration (with some custom pricing modules), I'll pass any fixes I make your way.

[Attachment no longer available]Not a "official" package yet so not a big deal that the "Thumbs.db" files are there.. They would of course be removed from the final package (when I finally find time to make that happen)

Your patch would be even more helpful if you could explain the issues you found and at a high level at least walk through how you resolved them.. This way I can do my own testing to see if I too can replicate the problem before applying any fixes to my package..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

29 Aug 2012, 10:16 PM
#579
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I figured out a solution, maybe not the best one.
In the file:
/mallet_2012/includes/init_includes/init_admin_auth.php

Look for the lines that are around line 50

if (!in_array($page, array(FILENAME_DEFAULT,FILENAME_ADMIN_ACCOUNT,FILENAME_LOGOFF,FILENAME_ALERT_PAGE,FILENAME_PASSWORD_FORGOTTEN,FILENAME_DENIED,FILENAME_ALT_NAV)) &&
!zen_is_superuser())
{
if (check_page($page, $_GET) == FALSE)
{
zen_redirect(zen_href_link(FILENAME_DENIED, '', 'SSL'));
}
}

Add-
Before section: if (basename($_SERVER['SCRIPT_FILENAME']) != 'FILENAME_ORDER_EDIT') {
after section:}

Keep in mind that someone whom may not be authorized, may be able to access the Edit Order modules. If i come up with a more secure version I will post it here.

Larry

29 Aug 2012, 10:38 PM
#580
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

bislewl:

I figured out a solution, maybe not the best one.
In the file:
/mallet_2012/includes/init_includes/init_admin_auth.php

Look for the lines that are around line 50

if (!in_array($page, array(FILENAME_DEFAULT,FILENAME_ADMIN_ACCOUNT,FILENAME_LOGOFF,FILENAME_ALERT_PAGE,FILENAME_PASSWORD_FORGOTTEN,FILENAME_DENIED,FILENAME_ALT_NAV)) &&
!zen_is_superuser())
{
if (check_page($page, $_GET) == FALSE)
{
zen_redirect(zen_href_link(FILENAME_DENIED, '', 'SSL'));
}
}

Add-
Before section: if (basename($_SERVER['SCRIPT_FILENAME']) != 'FILENAME_ORDER_EDIT') {
after section:}

Keep in mind that someone whom may not be authorized, may be able to access the Edit Order modules. If i come up with a more secure version I will post it here.

Larryand this reason is why this should not be implemented..

When I get some time I'll look at this.. May be a while for me to look at this as I am MAD busy..

So if anyone has right solution which maintains the admin profile securities, please post..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.