What are the typical steps for admins and customers when selling pixels?

RyanTechnical SupportLeave a Comment

Here are the typical steps: 1. Customer selects pixels, confirms the order. 2. Customer buys pixels, transaction is approved and order is completed 3. Customer uploads their pixels 4. Admin approves pixels (Admin will get a notification by email about the pixels, and they can be approved from right from the email.) 5. Admin processes the image to publish the new pixels If your user has problems with uploading the image, here is what you can do: 1. Check your 'Orders Waiting' list to ensure that the order was competed. Look at your 'Map Of Orders' to to help you locate the pixels if needed. 2. Log in to the user's account using the Admin password as the master password

Fatal error: Call to undefined function: bcmod()

RyanTechnical SupportLeave a Comment

It sounds like you have a installation of PHP which is without BC Math library. This is problem only affects the Map of Orders in the Admin, it does not affect any other part of the program. Solution: a. You can enable the BC Math library when installing PHP. Here is the official documentation: http://www.php.net/manual/en/ref.bc.php b. Alternatively, you can remove the part of the code which requires the bcmod function. In admin/map_iframe.php, please remove the following code: $hrs = floor(bcmod($sec,86400)/3600); $mins = round(bcmod(bcmod($sec,86400),3600)/60); The side-effect is that you will not be able to see the elapsed hours and minutes on the Map of Orders.

How can I have support for multiple languages at once?

RyanTechnical SupportLeave a Comment

It possible multiple languages, so for example you may have 2 languages at the same time and the user can choose the language by clicking on a flag, The langauge can be changed on-the-fly by appending a `lang` parameter to the url. For example, if you have English with the code EN and French with the code FN, simply append the lang parameter like this: http://www.example.com/users/index.php?lang=EN – change to English http://www.example.com/users/index.php?lang=FN – change to French Please note that the lang parameter is case sensitive.

Error with MySQL 5 – disable SQL strict mode.

RyanTechnical SupportLeave a Comment

The script is written for MySQL version 4 or below. It can run on MySQL 5, however you will need to turn of SQL strict mode. Open your MySQL my.ini file and locate the following line: #sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" And change to: sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" Save the file and restart MySQL.