Jump to content

erix138

Member
  • Posts

    15
  • Joined

  • Last visited

erix138's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I tried the code fix mentioned in the previous post, but it didn't make a difference for me. How I got this fixed: I installed another, fresh copy of cubecart 5 into another directory ("A"). I exported the DB from the malfunctioning cubecart ("B") I then imported the DB from B into A I then copied the images folder from B into the images folder of A I copied my Skin from B (Vanilla with many custom changes) into the Skins folder of A (overwriting the skin folder which had the same name) I copied the few other customized items (such as my customized payment gateway module) from B into A I logged into A and made sure everything was working right. I made a test purchase to make sure the front end was working. The point of this was to get the shipping gateway modules to now show up onscreen, ready to be used (instead of blank white screens). This was solved using the method above. The last thing I did was to switch the names of the directories, so that in the end my fresh copy (with my customized parts) was Now "B" and the old malfunctioning cube cart in the other directory was now "A".
  2. Restored 5.12 Cubecart to server. Previously turned on shipping modules are working correctly and can be viewed for editing. However, if I attempt to use a shipping module that was previously off, when launched, it presents only a blank white page. Here's the error log: [29-Dec-2014 16:48:19 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/XXSITEXX/public_html/pizzanow/admin/sources/products.index.inc.php on line 367 If I do activate a previously "off" shipping module, it will work (in its default setting) and show up in the store for checkout. But obviously I cannot edit the module properties, since the admin page is blank.
  3. Removel of the index.php from the directory solved it: the picker began showing the image list again. Thanks.
  4. Image File Manager seems to be working fine, but image file list (under the Image tab) when a product is opened up for editing, the list is missing - completely blank window. I can upload and the new image will appear with the product, but I cannot select or deselect images (as I cannot see them listed at all). The error in the log was PHP Notice: GD::gdLoadFile - Unknown file type: /home/sbarro12/public_html/pizzanow/images/source/index.php in /home/sbarro12/public_html/pizzanow/classes/gd.class.php on line 75 But I saw a code line substitution in a different Cubecart Forum page and tried it, now I get this error: Warning: implode() [function.implode.php]: Invalid arguments passed in /home/sbarro12/public_html/pizzanow/classes/gd.class.php on line 75 Here's the code line substitution i made to gd.class: original line 75: trigger_error(__METHOD__.' - Unknown file type: '.$file); New line trigger_error(__METHOD__.' - Unknown file type:' . $file . ': ' . implode(',',$this->_gdImageData));
  5. My CC 5.12 install is showing multiple problems (mostly permission issues) after I re-installed the site from a zip archive a week ago. As a way to bypass picking apart each problem at a time and repairing it, could I (theoretically) install a completely fresh copy of cubecart 5.14 and then import my CC 5.12 DB into the fresh version, and then start bringing in my content items? (I am using a customized Skin) Or would importing the older DB just reintroduce my old problems into the fresh copy? I am thinking the permission issues would not be present in the DB, so at least that would be solved?
  6. Want to add a variable "Tip" field to the total when CubeCart calculates final costs, so that customer can add a tip for delivery drivers (this CC install is for a pizza restaurant.). Is there a way to add a blank field so that a customer can type in any amount they wish for the Tip gratuity?
  7. After restoring cubecart store from backup, getting this output at the top on the production options admin page: Warning: uasort() expects parameter 1 to be array, null given in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 292 Warning: Invalid argument supplied for foreach() in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 294 Warning: uasort() expects parameter 1 to be array, null given in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 292 Warning: Invalid argument supplied for foreach() in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 294 Warning: uasort() expects parameter 1 to be array, null given in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 292 Warning: Invalid argument supplied for foreach() in /home/sbarro12/public_html/pizzanow/admin/sources/products.options.inc.php on line 294
  8. Thanks. Login is now working again. Problem was permission issue for extra/key.php
  9. The install is with a purchased key. I turned on the error reporting here: classes/debug.class.php By setting 'false' to 'true' What led up to this point: I backed off the fully functioning site and SQL before I tried to customize a mod, but I was not successful, so I emptied the SQL and imported the backup sql, and then replaced the site files with the backup. After that, the first time I refreshed the admin.php I got three lines showing perm problems, which I then set the mentioned folders to 777 - - - maybe not a good idea permanently but for now just trying to get back inside the admin. And this is what I get when refreshing /admin.php Warning: file_put_contents(/home/sbarro12/public_html/pizzanow/includes/extra/key.php) [function.file-put-contents.php]: failed to open stream: Permission denied in /home/sbarro12/public_html/pizzanow/controllers/ioncube_4.4/php_5.3.php on line 151
  10. I tried that, but it would not output anything to screen. So I turned on the debug error reporting and I get this: Warning: file_put_contents(/home/sbarro12/public_html/pizzanow/includes/extra/key.php) [function.file-put-contents.php]: failed to open stream: Permission denied in /home/sbarro12/public_html/pizzanow/controllers/ioncube_4.4/php_5.3.php on line 151 I tried different perms on the folders but without producing any change, the same error above outputs to screen when trying to access /admin.php
  11. Trying to restore 5.12 Store from backup, but getting a white, blank admin login page. Store is otherwise working fine. I can log into individual customer accounts and all is correct on the front end. Restoring from SQL and site pages backup because I flubbed customizing a MOD. Is there something to reset to enable the admin login to load?
  12. I am able to add the options using the single line option setting in the admin. Is there a simple way to go to the CSS and edit the way the single line looks (for example width, etc?) What would be ideal would be able to set the option code (example: input name="productOptions[5][]") into a table
  13. Building site for client with current CC 5.2.12. Want to find solution to allow customer to choose multiple option extras for a single item, for example: Product item Cheese Pizza - - topping options: Chicken Steak Canadian Bacon Ham Meatballs Pepperoni Sausage Bacon Want to allow customer to choose 1, or 2, etc or all 8. Checklist buttons possible? Is there a solution? I only see the way to make the product option dropdowns, but that means selecting only one item.
  14. Building store for client, and they want to offer a simple discount, such as: Item A Red = $100 2 of item A Red = $50 each Easy enough using cubecart, but what if we've got Item A Red and Item A Blue to choose from for 2nd item discount? How can we distinguish customer chooses Item A Red for first item, and item A Blue for the 2nd item when desiring the 2-item discount price? I've tried adding a second drop down option set to the product ("2nd item choice") for this case, but I've only been able to get a single dropdown to actually appear. Is there a better solution for this scenerio or is there actually a way to add additional drop downs? Thanks
  15. With botflood turned on, I get this error immeadiately after clicking on the Send A friend email button: >>>>Fatal error: Call to undefined function: createspamcode() in /home/canadach/public_html/store/includes/content/tellafriend.inc.php on line 152 If I turn botflood OFF, I get this after filling out the form screen and submitting: >>>>Fatal error: Call to undefined function: fetchspamcode() in /home/canadach/public_html/store/includes/content/tellafriend.inc.php on line 54 Any pointers on this appreciated.
×
×
  • Create New...