Page 10 of 14 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 138
  1. #91
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod Thread

    to change the text:
    edit: includes/languages/english/your_template/request_restock.php
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #92
    Join Date
    Oct 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    thanks

  3. #93
    Join Date
    Sep 2004
    Location
    Frisco, Texas
    Posts
    21
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    I installed Request Restock alpha 3.5 about two weeks ago. The drop down menu on the admin/request_restock.php page was and continues to be blank... none of the option values are displayed. It appears that my symptoms are the same as those reported above by 100asa, which appear to have been solved in his case. The screen shot that he posted shows the same problem I'm describing.

    After installing the mod, I upgraded both PHP and MySQL from 4 to 5. I'm now running MySQL 5.0.45-community and PHP 5.2.4. After the upgrade, the drop down menu still didn't appear in the admin. I've completely re-installed this mod twice... uploading all the files and dropping/recreating the database tables. The "front end" works fine. The automatic emails are sent when customers request a restock, and their requests are saved in the database. I just don't have a functional admin page. I've tried every suggestion posted in this forum. Unlike asa100, my store is in English. I'd appreciate any suggestions.
    Thanks,
    Alan

  4. #94
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod Thread

    For those having such problem, please try this file:
    upload it to admin/request_restock.php, overwrite the old file when asked.
    Attached Files Attached Files
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #95
    Join Date
    Sep 2004
    Location
    Frisco, Texas
    Posts
    21
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    Problem solved.
    Thanks!
    Alan

  6. #96
    Join Date
    Sep 2004
    Location
    Frisco, Texas
    Posts
    21
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    Quote Originally Posted by alanpace View Post
    Problem solved.
    Thanks!
    Alan
    I spoke to soon. Using the file you attached, the options are now shown in my drop down menu, but I get this SQL error when I choose the "Send notices to customers" option:

    Code:
    1064 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
    in:
    [update products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from customers c where c.customers_email_address = r.email_address]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Do you know what might cause this?
    Thanks,
    Alan

  7. #97
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod Thread

    Try this in your phpmyadmin, let me know if you get the same error:

    update products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from customers c where c.customers_email_address = r.email_address)

    PS: If you have prefix for your zen table, you may have to use this:


    update zen_products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from zen_customers c where c.customers_email_address = r.email_address)

    // Replace zen_ by your prefix name (if you use a different one)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  8. #98
    Join Date
    Sep 2004
    Location
    Frisco, Texas
    Posts
    21
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    Quote Originally Posted by yellow1912 View Post
    Try this in your phpmyadmin, let me know if you get the same error:

    update products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from customers c where c.customers_email_address = r.email_address)

    PS: If you have prefix for your zen table, you may have to use this:


    update zen_products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from zen_customers c where c.customers_email_address = r.email_address)

    // Replace zen_ by your prefix name (if you use a different one)
    I used the first query you suggested since I don't have a table prefix, and got this error:

    Code:
    Unknown column 'r.zen_customers_id' in 'field list'
    I then removed the zen_ prefix from zen_customers_id in the query, tried it again and got this error:

    Code:
    #1054 - Unknown column 'r.customers_id' in 'field list'
    I checked my products_restock_request_customers table, and there's no customers_id field in the table, although it does have an ID field. I then changed r.customers_id to r.ID and ran the query without an error.

    Should the products_restock_request_customers table have a customers_id field? Here's the code from the "new install" SQL packaged with alpha 3.5:

    Code:
    DROP TABLE IF EXISTS products_restock_request_customers;
    CREATE TABLE products_restock_request_customers (
      ID int(10) NOT NULL auto_increment,
      name varchar (255) NOT NULL,
      email_address varchar (255) NOT NULL,
      PRIMARY KEY  (ID) 
    ) ENGINE=MyISAM;
    Thanks,
    Alan

  9. #99
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod Thread

    Im looking at the sql query closely this time, there is something weird here:

    1064 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
    in:
    [update products_restock_request_customers r set r.zen_customers_id = (SELECT customers_id from customers c where c.customers_email_address = r.email_address]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Where did you download this version? Did you download it from download section here?
    Because I re-downloaded this version from download section and can not find this line of code anywhere.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #100
    Join Date
    Sep 2004
    Location
    Frisco, Texas
    Posts
    21
    Plugin Contributions
    0

    Default Re: Request Restock Mod Thread

    Quote Originally Posted by yellow1912 View Post
    Im looking at the sql query closely this time, there is something weird here:


    Where did you download this version? Did you download it from download section here?
    Because I re-downloaded this version from download section and can not find this line of code anywhere.
    Thank you for getting back to me so fast... I was already typing a message to tell you to ignore that last post. I re-uploaded all the files and I'm not getting the error anymore. Over the last week or so, I've tried every hot fix and code update posted in this forum, so I managed to revert some of the code back to where it was at the time the fix was posted... and then I forgot I'd made the changes. Hopefully I've got it working now...
    Thanks,
    Alan

 

 
Page 10 of 14 FirstFirst ... 89101112 ... LastLast

Similar Threads

  1. Restock Request
    By jsarwar in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 20 Jul 2014, 11:16 PM
  2. Request Restock Mod Alpha 3.5
    By Adds in forum General Questions
    Replies: 0
    Last Post: 12 Nov 2007, 07:52 PM
  3. Restock Request Module - Urgent Help Needed Please....
    By Adds in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2007, 01:39 AM
  4. Return Request mod
    By dscott1966 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Nov 2006, 05:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg