Jump to content

Eric Nguyen

Members
  • Posts

    39
  • Joined

  • Last visited

About Eric Nguyen

  • Birthday 07/03/1987

Contact Methods

Profile Information

  • Location
    Singapore
  • Interests
    Android development web development entrepreneurship money
  • Activity
    Developer

Eric Nguyen's Achievements

Newbie

Newbie (1/14)

5

Reputation

2

Community Answers

  1. Hi all, thanks to your suggestions, I have resolved my problem. Steps to resolve it: Step 1: find out which Linux user Apache is running as [root@ip-172-31-6-34 html]# ps aux | egrep '(apache|httpd)' apache 7937 0.0 5.9 512672 36052 ? S 03:21 0:03 /usr/sbin/httpd apache 7938 0.0 3.9 500516 24280 ? S 03:21 0:01 /usr/sbin/httpd apache 7939 0.0 5.3 508648 32324 ? S 03:21 0:01 /usr/sbin/httpd apache 8309 0.0 5.3 508576 32252 ? S 07:36 0:02 /usr/sbin/httpd apache 8310 0.0 3.8 500516 23364 ? S 07:36 0:01 /usr/sbin/httpd apache 8797 0.0 4.7 506008 28824 ? S 13:43 0:01 /usr/sbin/httpd apache 8798 0.0 5.3 509196 32820 ? S 13:43 0:00 /usr/sbin/httpd apache 8801 0.0 5.3 508840 32492 ? S 13:43 0:01 /usr/sbin/httpd apache 8802 0.0 5.3 509584 32672 ? S 13:43 0:01 /usr/sbin/httpd apache 8998 0.0 4.2 502320 25948 ? S 16:08 0:00 /usr/sbin/httpd apache 8999 0.0 4.4 503836 26936 ? S 16:08 0:00 /usr/sbin/httpd apache 9000 0.0 3.7 500780 22684 ? S 16:08 0:00 /usr/sbin/httpd apache 9001 0.0 4.5 504100 27632 ? S 16:08 0:00 /usr/sbin/httpd apache 9002 0.0 5.6 511596 34344 ? S 16:08 0:00 /usr/sbin/httpd apache 9003 0.0 5.1 508568 31356 ? S 16:08 0:00 /usr/sbin/httpd apache 9004 0.0 4.4 503324 26864 ? S 16:08 0:01 /usr/sbin/httpd apache 9005 0.0 3.9 500508 24032 ? S 16:09 0:00 /usr/sbin/httpd apache 9006 0.0 4.4 504092 27056 ? S 16:09 0:00 /usr/sbin/httpd apache 9007 0.0 5.9 512592 36012 ? S 16:09 0:00 /usr/sbin/httpd apache 9008 0.0 3.9 500764 24284 ? S 16:09 0:00 /usr/sbin/httpd root 9248 0.0 0.1 101024 820 pts/0 S+ 18:27 0:00 egrep (apache|httpd) root 17286 0.0 2.0 390528 12396 ? Ss Nov24 1:52 /usr/sbin/httpd in my case, it's "apache" Step 2: Change the ownership of your root directory to such user. You DON'T have to change the ownership recursively though. Just the root directory is sufficient. Enjoy
  2. Thank you, El Patron but I'm afraid your answer is a bit off. Moving hosting is real hassle especially for a non-technical person so I don't know if it's a good solution. Passing the ball of responsibility to the hosting service provider is easy enough but the time taken will be huge. Anyway, I'm using Amazon EC2 as server, I'm an engineer and I have absolute control of the hosting environment. This must be something really trivial but not documented and I'm hoping someone can point it out for me
  3. Thanks, doekia. Version of my PS 1.5.5.0 Version of Google Sitemap module 2.3.2 I've solved the problem myself actually. I backup index.php inside /override/classes/shop/ and gave write permission to the directory itself. It worked and nothing has broken
  4. How can give write permission to the root directory knowing how dangerous it is? An error occured while trying to check your file permissions. Please adjust your permissions to allow PrestaShop to write a file in your root directory I've tried creating sitemap.xml, index_sitemap.xml and 1_index_sitemap.xml and gave write permission to them but no luck. I'm using Prestashop 1.5.5.0 and Google Sitemap module 2.3.2
  5. I'm trying to install Google Sitemap module for my shop but encountering this error. What should I do? Should I give write permission to certain directories? Which ones? The following module(s) were not installed properly:- gsitemap : Unable to install override: directory (/<root directory of my shop>/override/classes/shop) not writable My ultimate goal is to get a xml sitemap which I can submit to Google Webmaster Tools so any alternatives are welcome
  6. After clicking the "Add to cart" button, I do see the effect of the item flying to the cart and the cart details expands downwards. However, the "Cart" and "Checkout" button do not show. This is only happening to Chrome but not Firefox. I'm using a Mac. I inspect the HTML and do see that the CSS attribute of <p id="cart-buttons"> did change from display:none to display:block as a result of me clicking "Add to cart". Strangely, the buttons do not show. Any ideas how to fix this? I've attached the screenshot from Firefox and Chrome for comparison. Updates: This issue is also happening to Safari. Perhaps a problem with Webkit engine?
  7. Or any other top level .tpl files under my theme. I don't want the "Our stores" page to be at myshop.com/stores but at myshop.com/my-cool-stores instead. How do I achieve that?
  8. I'm relying on PayPal module to handle the magic behind the scene. Just curious what is the default IPN URL, at least it's structure like?
  9. I'm having the same problem with my PayPal Sandbox payment. I'm using PayPal Canada USA 1.2.7 module. PayPal Standard is enabled. My shop enables 2 currency USD and SGD with SGD being the default currency. Payment settings allow PayPal in both USA and Singapore. Both my personal and business PayPal Sandbox accounts have country as US. I have already configure my PayPal Sandbox account (business) to automatically accept payments of any currency. All payments went through smoothly but Prestashop hasn't recorded any order at all. Order is created for payment through BankWire however. My Prestashop version is 1.5.5.0 More info: When PayPal transaction is done, I was not redirected back to the shop. Once I clicked on the link to return to the shop manually I saw "You have not placed any order". I saw no error at all throughout the whole process. The URLs at the different stages are: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=54eGf5XbGlGXddjNRyKhnA_ggRL6trxbPQGjP_-DSokbeqYF9QmsGCImY-G&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081986471f9b93cfa01e00b63629be0164db1 https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=54eGf5XbGlGXddjNRyKhnA_ggRL6trxbPQGjP_-DSokbeqYF9QmsGCImY-G&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081986471f9b93cfa01e00b63629be0164db1#pageState=review&pageDispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081986471f9b93cfa01e00b63629be0164db1&pageSession=RXje-syPPKo36cPmyy0cDP-SYYQw8vIoJH4egapSF98e5dbSIxOLER-XT0m https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=d4mNEw3VqHYLpjMnxwaHeKG1R8O6dZeDqdUCJwucLmnHyYafEIEDIVG1ZoK&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081986471f9b93cfa01e00b63629be0164db1 Updates I think this problem probably has to with the fact that I'm doing testing on localhost which is unreachable by PayPal Solution I figure out I'm supposed to use the PayPal Europe module instead of the Canada USA one since my shop is in Singapore - http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html Good luck to the rest of you, cheers
  10. It should have to do with the shop's location right? If I buy stuffs on Amazon USA then I have to pay USD. PayPal cares about that but not where I live (Singapore), right?
  11. This is a free Prestashop theme that I found on ... The theme include those empty CSS files (for what purpose I'm not sure) and it is Chrome's and Firefox's default behavihour to show them as 404, that's all. I simple have to manually remove/ replace these files with what I want or leaving them alone would do no harm either. I'm satisfied with this explanation and workaround for now. Thanks for your help!
  12. Both Cart block on top of my webpage and the "Add to cart" button in each product disappear. This happens on every page of my website and this happen all out of a sudden (pardon me, if I could recall/ narrow down what change I made is causing this then I wouldn't ask a question here) What I have tried to troubleshoot/ resolve the problem: - Verified that "Cart block" v1.2 module is installed and enabled (also tried disable & enable again, reset, uninstall and install again) - Verified that under "Modules" >> "Positions", "Cart block" is there under both "Pages header" and "Top of pages" - Verified that there is no Javascript files with 404 error - Verified that there is no HTML code at all for the the cart block or the "Add to cart" button so CSS issues are irrelevant <section id="header_user" class="blockuserinfo-cart header-box"> </section> - Switched back to default theme but absolutely no luck I'm pretty sure this is something trivial that I missed. Please help because my site cannot work without the cart functionalities obviously. Thanks, My Prestashop version is 1.5.5.0 Below is my Smarty debug log FYI: Smarty Debug Console - Total Time 0.09338 included templates & config files (load time in seconds)/Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/feeder/feederHeader.tpl (compile 0.00000) (render 0.00011) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/paypal/views/templates/hook/paypal.js(compile 0.00000) (render 0.00009) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blocklanguages/blocklanguages.tpl (compile 0.00000) (render 0.00031) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockpermanentlinks/blockpermanentlinks-header.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blocksearch/blocksearch-top.tpl (compile 0.00000) (render 0.00000) (cache 0.00008) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockuserinfo/blockuserinfo.tpl (compile 0.00000) (render 0.00035) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blocktopmenu/blocktopmenu.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockviewed/blockviewed.tpl (compile 0.00000) (render 0.00120) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockcms/blockcms.tpl (compile 0.00000) (render 0.00000) (cache 0.00031) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockadvertising/blockadvertising.tpl(compile 0.00000) (render 0.00000) (cache 0.00011) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blocknewsletter/blocknewsletter.tpl (compile 0.00000) (render 0.00047) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blocknewproducts/blocknewproducts.tpl(compile 0.00000) (render 0.00000) (cache 0.00011) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/paypal/views/templates/hook/column.tpl(compile 0.00000) (render 0.00015) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockwishlist/blockwishlist.tpl (compile 0.00000) (render 0.00017) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/homeslider/homeslider.tpl (compile 0.00000) (render 0.00000) (cache 0.00012) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/homefeatured/homefeatured.tpl (compile 0.00000) (render 0.00000) (cache 0.00015) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/editorial/editorial.tpl (compile 0.00000) (render 0.00000) (cache 0.00010) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockmyaccountfooter/blockmyaccountfooter.tpl(compile 0.00000) (render 0.00000) (cache 0.00010) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/modules/blockcontactinfos/blockcontactinfos.tpl(compile 0.00000) (render 0.00000) (cache 0.00013) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/index.tpl (compile 0.00000) (render 0.00011) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/layout.tpl (compile 0.00000) (render 0.00105) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/header.tpl (compile 0.00000) (render 0.00036) (cache 0.00000) /Applications/MAMP/htdocs/niuniu/themes/fashionbird/footer.tpl (compile 0.00000) (render 0.00009) (cache 0.00000) assigned template variables $HOOK_FOOTER Smarty_Variable Object (3) ->value = " <!-- MODULE Block footer -->..." ->nocache = false ->scope = "Smarty root" $HOOK_HEADER Smarty_Variable Object (3) ->value = " <link rel="alternate" type="applicat..." ->nocache = false ->scope = "Smarty root" $HOOK_HOME Smarty_Variable Object (3) ->value = "<!-- Module HomeSlider --> <script ty..." ->nocache = false ->scope = "Smarty root" $HOOK_LEFT_COLUMN Smarty_Variable Object (3) ->value = " <!-- Block Viewed products --> <se..." ->nocache = false ->scope = "Smarty root" $HOOK_RIGHT_COLUMN Smarty_Variable Object (3) ->value = "<!-- MODULE Block new products --> <..." ->nocache = false ->scope = "Smarty root" $HOOK_TOP Smarty_Variable Object (3) ->value = " <!-- Block languages module --> <s..." ->nocache = false ->scope = "Smarty root" $PS_ALLOW_MOBILE_DEVICE Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $PS_CATALOG_MODE Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $PS_SHOP_NAME Smarty_Variable Object (3) ->value = "NiuNiu" ->nocache = false ->scope = "Smarty root" $PS_STOCK_MANAGEMENT Smarty_Variable Object (3) ->value = "1" ->nocache = false ->scope = "Smarty root" $SCRIPT_NAME Smarty_Variable Object (3) ->value = "/niuniu/index.php" ->nocache = false ->scope = "Global" $add_prod_display Smarty_Variable Object (3) ->value = 1 ->nocache = false ->scope = "Smarty root" $b2b_enable Smarty_Variable Object (3) ->value = false ->nocache = false ->scope = "Smarty root" $base_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/" ->nocache = false ->scope = "Smarty root" $base_dir_ssl Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/" ->nocache = false ->scope = "Smarty root" $base_uri Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/" ->nocache = false ->scope = "Smarty root" $cart Smarty_Variable Object (3) ->value = Cart Object (23) ->id = 6 ->id_shop_group = "0" ->id_shop = "1" ->id_address_delivery = "5" ->id_address_invoice = "5" ->id_currency = "1" ->id_customer = "2" ->id_guest = "21" ->id_lang = "1" ->recyclable = "0" ->gift = "0" ->gift_message = "" ->mobile_theme = "0" ->date_add = "2013-10-20 14:32:18" ->secure_key = "63c9bc62096e6e078d1e5377ac39e35e" ->id_carrier = "0" ->date_upd = "2013-10-27 11:36:53" ->checkedTos = false ->pictures = null ->textFields = null ->delivery_option = "" ->allow_seperated_package = "0" ->id_shop_list = null ->nocache = false ->scope = "Smarty root" $cart_qties Smarty_Variable Object (3) ->value = 0 ->nocache = false ->scope = "Smarty root" $come_from Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/en/" ->nocache = false ->scope = "Smarty root" $conditions Smarty_Variable Object (3) ->value = "1" ->nocache = false ->scope = "Smarty root" $content_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/" ->nocache = false ->scope = "Smarty root" $content_only Smarty_Variable Object (3) ->value = 0 ->nocache = false ->scope = "Smarty root" $cookie Smarty_Variable Object (3) ->value = Cookie Object (0) ->nocache = false ->scope = "Smarty root" $css_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/themes/f..." ->nocache = false ->scope = "Smarty root" $css_files Smarty_Variable Object (3) ->value = Array (28) /niuniu/themes/fashionbird/css/grid_prestashop.css => "all" /niuniu/themes/fashionbird/css/global.css => "all" /niuniu/themes/fashionbird/css/modules/carriercompare/style.css => "all" /niuniu/themes/fashionbird/css/modules/blockpermanentlinks/blockpermanentlinks.css=> "all" /niuniu/themes/fashionbird/css/modules/blockviewed/blockviewed.css => "all" /niuniu/themes/fashionbird/css/modules/blocknewproducts/blocknewproducts.css => "all" /niuniu/themes/fashionbird/css/modules/blockuserinfo/blockuserinfo.css => "all" /niuniu/themes/fashionbird/css/modules/blockmyaccountfooter/blockmyaccount.css => "all" /niuniu/themes/fashionbird/css/modules/blocklanguages/blocklanguages.css => "all" /niuniu/themes/fashionbird/css/modules/blockcms/blockcms.css => "all" /niuniu/themes/fashionbird/css/modules/blocktags/blocktags.css => "all" /niuniu/js/jquery/plugins/autocomplete/jquery.autocomplete.css => "all" /niuniu/themes/fashionbird/css/product_list.css => "all" /niuniu/themes/fashionbird/css/modules/blocksearch/blocksearch.css => "all" /niuniu/themes/fashionbird/css/modules/blocknewsletter/blocknewsletter.css => "all" /niuniu/themes/fashionbird/css/modules/crossselling/crossselling.css => "all" /niuniu/themes/fashionbird/css/modules/productscategory/productscategory.css => "all" /niuniu/themes/fashionbird/css/modules/blockcontactinfos/blockcontactinfos.css => "all" /niuniu/themes/fashionbird/css/modules/blocklink/blocklink.css => "all" /niuniu/themes/fashionbird/css/modules/productcomments/productcomments.css => "all" /niuniu/themes/fashionbird/css/modules/homefeatured/homefeatured.css => "all" /niuniu/modules/paypal/css/paypal.css => "all" /niuniu/modules/editorial/editorial.css => "all" /niuniu/js/jquery/plugins/jgrowl/jquery.jgrowl.css => "all" /niuniu/modules/sendtoafriend/sendtoafriend.css => "all" /niuniu/modules/blockwishlist/blockwishlist.css => "all" /niuniu/themes/fashionbird/css/modules/blocktopmenu/css/superfish-modified.css => "all" /niuniu/modules/homeslider/bx_styles.css => "all" ->nocache = false ->scope = "Smarty root" $currencies Smarty_Variable Object (3) ->value = Array (1) 0 => Array (12) id_currency => "1" name => "Dollar" iso_code => "SGD" iso_code_num => "702" sign => "$" blank => "1" format => "1" decimals => "1" conversion_rate => "1.000000" deleted => "0" active => "1" id_shop => "1" ->nocache = false ->scope = "Smarty root" $currency Smarty_Variable Object (3) ->value = Currency Object (14) ->id = 1 ->name = "Dollar" ->iso_code = "SGD" ->iso_code_num = "702" ->sign = "$" ->blank = "1" ->conversion_rate = "1.000000" ->deleted = "0" ->format = "1" ->decimals = "1" ->active = "1" ->prefix = "$ " ->suffix = "" ->id_shop_list = null ->nocache = false ->scope = "Smarty root" $customerName Smarty_Variable Object (3) ->value = "Eric Nguyen" ->nocache = false ->scope = "Smarty root" $display_footer Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $display_header Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $display_tax_label Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $errors Smarty_Variable Object (3) ->value = Array (0) ->nocache = false ->scope = "Smarty root" $favicon_url Smarty_Variable Object (3) ->value = "/niuniu/img/favicon.ico" ->nocache = false ->scope = "Smarty root" $hide_left_column Smarty_Variable Object (3) ->value = false ->nocache = false ->scope = "Smarty root" $hide_right_column Smarty_Variable Object (3) ->value = false ->nocache = false ->scope = "Smarty root" $id_cart Smarty_Variable Object (3) ->value = 6 ->nocache = false ->scope = "Smarty root" $id_cgv Smarty_Variable Object (3) ->value = "3" ->nocache = false ->scope = "Smarty root" $id_currency_cookie Smarty_Variable Object (3) ->value = 1 ->nocache = false ->scope = "Smarty root" $img_cat_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/c/" ->nocache = false ->scope = "Smarty root" $img_col_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/co/" ->nocache = false ->scope = "Smarty root" $img_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/themes/f..." ->nocache = false ->scope = "Smarty root" $img_lang_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/l/" ->nocache = false ->scope = "Smarty root" $img_manu_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/m/" ->nocache = false ->scope = "Smarty root" $img_prod_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/p/" ->nocache = false ->scope = "Smarty root" $img_ps_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/" ->nocache = false ->scope = "Smarty root" $img_ship_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/s/" ->nocache = false ->scope = "Smarty root" $img_store_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/st/" ->nocache = false ->scope = "Smarty root" $img_sup_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/img/su/" ->nocache = false ->scope = "Smarty root" $img_update_time Smarty_Variable Object (3) ->value = "1382845757" ->nocache = false ->scope = "Smarty root" $js_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/themes/f..." ->nocache = false ->scope = "Smarty root" $js_files Smarty_Variable Object (3) ->value = Array (14) 0 => "/niuniu/js/jquery/jquery-1.7.2.min.js" 1 => "/niuniu/js/jquery/plugins/jquery.easi..." 2 => "/niuniu/js/tools.js" 3 => "/niuniu/modules/carriercompare/carrie..." 4 => "/niuniu/js/jquery/plugins/autocomplet..." 5 => "/niuniu/modules/crossselling/js/cross..." 6 => "/niuniu/themes/fashionbird/js/modules..." 7 => "/niuniu/js/jquery/plugins/jquery.seri..." 8 => "/niuniu/js/jquery/plugins/jgrowl/jque..." 9 => "/niuniu/modules/blockwishlist/js/ajax..." 10 => "/niuniu/themes/fashionbird/js/modules..." 11 => "/niuniu/themes/fashionbird/js/modules..." 12 => "/niuniu/modules/homeslider/js/jquery...." 13 => "/niuniu/modules/homeslider/js/homesli..." ->nocache = false ->scope = "Smarty root" $lang_iso Smarty_Variable Object (3) ->value = "en" ->nocache = false ->scope = "Smarty root" $languages Smarty_Variable Object (3) ->value = Array (3) 0 => Array (10) id_lang => "1" name => "English (United States)" active => "1" iso_code => "en" language_code => "en" date_format_lite => "Y-m-d" date_format_full => "Y-m-d H:i:s" is_rtl => "0" id_shop => "1" shops => Array (1) 1 => true 1 => Array (10) id_lang => "2" name => "Chinese-Traditional" active => "1" iso_code => "tw" language_code => "tw" date_format_lite => "Y-m-d" date_format_full => "Y-m-d H:i:s" is_rtl => "0" id_shop => "1" shops => Array (1) 1 => true 2 => Array (10) id_lang => "3" name => "Chinese-Simplified" active => "1" iso_code => "zh" language_code => "zh" date_format_lite => "Y-m-d" date_format_full => "Y-m-d H:i:s" is_rtl => "0" id_shop => "1" shops => Array (1) 1 => true ->nocache = false ->scope = "Smarty root" $link Smarty_Variable Object (3) ->value = Link Object (2) ->protocol_link ->protocol_content ->nocache = false ->scope = "Smarty root" $logged Smarty_Variable Object (3) ->value = true ->nocache = false ->scope = "Smarty root" $logo Smarty_Variable Object (3) ->value = "/niuniu/modules/paypal/img/logos/GB_v..." ->nocache = false ->scope = "Smarty root" $logo_image_height Smarty_Variable Object (3) ->value = "36" ->nocache = false ->scope = "Smarty root" $logo_image_width Smarty_Variable Object (3) ->value = "300" ->nocache = false ->scope = "Smarty root" $logo_url Smarty_Variable Object (3) ->value = "/niuniu/img/logo.jpg?1382845757" ->nocache = false ->scope = "Smarty root" $mail_dir Smarty_Variable Object (3) ->value = "/niuniu/mails/" ->nocache = false ->scope = "Smarty root" $meta_description Smarty_Variable Object (3) ->value = "Shop powered by PrestaShop" ->nocache = false ->scope = "Smarty root" $meta_keywords Smarty_Variable Object (3) ->value = "" ->nocache = false ->scope = "Smarty root" $meta_language Smarty_Variable Object (3) ->value = "en-tw-zh" ->nocache = false ->scope = "Smarty root" $meta_title Smarty_Variable Object (3) ->value = "NiuNiu" ->nocache = false ->scope = "Smarty root" $mobile_device Smarty_Variable Object (3) ->value = false ->nocache = false ->scope = "Smarty root" $modules_dir Smarty_Variable Object (3) ->value = "/niuniu/modules/" ->nocache = false ->scope = "Smarty root" $navigationPipe Smarty_Variable Object (3) ->value = ">" ->nocache = false ->scope = "Smarty root" $opc Smarty_Variable Object (3) ->value = false ->nocache = false ->scope = "Smarty root" $page_name Smarty_Variable Object (3) ->value = "index" ->nocache = false ->scope = "Smarty root" $pic_dir Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/upload/" ->nocache = false ->scope = "Smarty root" $priceDisplay Smarty_Variable Object (3) ->value = 0 ->nocache = false ->scope = "Smarty root" $priceDisplayPrecision Smarty_Variable Object (3) ->value = 2 ->nocache = false ->scope = "Smarty root" $request Smarty_Variable Object (3) ->value = "http://localhost:8888/niuniu/en/" ->nocache = false ->scope = "Smarty root" $request_uri Smarty_Variable Object (3) ->value = "/niuniu/en/" ->nocache = false ->scope = "Smarty root" $roundMode Smarty_Variable Object (3) ->value = 2 ->nocache = false ->scope = "Smarty root" $shop_name Smarty_Variable Object (3) ->value = "NiuNiu" ->nocache = false ->scope = "Smarty root" $show_taxes Smarty_Variable Object (3) ->value = 0 ->nocache = false ->scope = "Smarty root" $static_token Smarty_Variable Object (3) ->value = "e9169799f715848b8dd0593eef59e057" ->nocache = false ->scope = "Smarty root" $template Smarty_Variable Object (3) ->value = " <!-- Module HomeSlider --> <script t..." ->nocache = false ->scope = "Smarty root" $time Smarty_Variable Object (3) ->value = 1382847430 ->nocache = false ->scope = "Smarty root" $token Smarty_Variable Object (3) ->value = "233105f0dd03355c312d2f6b4cd504f5" ->nocache = false ->scope = "Smarty root" $tpl_dir Smarty_Variable Object (3) ->value = "/Applications/MAMP/htdocs/niuniu/them..." ->nocache = false ->scope = "Smarty root" $use_taxes Smarty_Variable Object (3) ->value = 1 ->nocache = false ->scope = "Smarty root" $vat_management Smarty_Variable Object (3) ->value = 0 ->nocache = false ->scope = "Smarty root" assigned config file variables (outer template scope)
  13. Please at least put your code within a "Code" block. I wouldn't expect anyone to read my post if I were you
×
×
  • Create New...