Link on the user/index.php should be pointing to order_pixels.php instead of select.php

RyanTechnical SupportLeave a Comment

Problem Link on the user/index.php should be pointing to order_pixels.php instead of select.php. This means that even though the Simple selection method selected, the Order Pixels link in index.php will be still pointing to the old select.php selection method. Solution Edit the user/index.php file. Locate the following code: $label['advertiser_home_onorder'] = str_replace("%PIXEL_ORD_COUNT%", $ordered, $label['advertiser_home_onorder']);   And just below the above code, insert the following lines: if (USE_AJAX=='SIMPLE') { $label['advertiser_home_onorder'] = str_replace('select.php', 'order_pixels.php', $label['advertiser_home_onorder']); } echo $label['advertiser_home_onorder']."";

Adjusting the default image resize

RyanTechnical SupportLeave a Comment

Question How do I adjust the images on the ads to be my own custom size? Answer You can set the width and height in the code, edit include/functions.php file, about line 2521 where it says: // Set a maximum height and width $width = 200; $height = 200;

Problem when processing pixels (Warning: touch() [function.touch]: Utime failed: Permission denied)

RyanTechnical SupportLeave a Comment

PROBLEM When processing pixels, the error message looks something like this: Please wait.. Processing the Grid image with GD Warning: touch() [function.touch]: Utime failed: Permission denied in /home/username/public_html/include/image_functions.php on line 143 Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/username/public_html/admin/temp/temp1.jpg' for writing in /home/username/public_html/include/image_functions.php on line 144 Saved as /home/username/public_html/admin/temp/temp1.jpg Warning: copy(/home/username/public_html/pixels/main1.jpg) [function.copy]: failed to open stream: Permission denied in /home/username/public_html/include/image_functions.php on line 21 SOLUTION Please give 'chmod 666' permissions to all your files in the admin/temp/ directory. Additionally, please give 'chmod 666' permissions to all your files in the pixles/ directory. Chmod 666 can be set using an FTP client, same way as you do during the installation. It will give the files all write permissions. You can also use the chmod command on the command line if you have got access to the command line via SSH. There is plenty of documentation about chmod available on the internet, and also our installation tutorial has some Alternatively, for advanced users, you may set the file's ownership to the username if the web server and set 644 permissions to these files.

Error 145: Can’t open file: ‘config.MYI’ (errno: 145) – or related error

RyanTechnical SupportLeave a Comment

The cause of this error is MySQL database file corruption. It can occur after the server is shut down suddenly – especially after power failure or if the disk is physically damaged. Luckily, this problem can be easily fixed in most cases. You will need to run a MySQL database fixing operations to repair the tables. This is usually done by using the features in your hosting control panel. For example, in Cpanel based accounts, go to 'MySQL Databases' page and click on the 'Repair' link next to the database name. This can also be done from PHPMyAdmin, where you can select all the database tables in the database, and select 'Repair Table'. (Note: The error can occur with other tables, not just config.MYI – depending on which table was corrupted)