Home » V2 » Troubleshooting


Contents

[edit] Install & Upgrade

[edit] Error Log Reporting

During both the install & upgrade procedures we log all the activity within the folder "/file/log/". All the files themselves are secure so no 3rd party can view them unless accessed via the server using an FTP client for example. Currently the product is not supported and the only form of help can be reporting any problems to our developers by submitting a bug report.

Submitting bug reports at this stage of the product is crucial so feel free to report any problems here.

When submitting a bug report we ask that you ZIP the folder:

/file/log/

Note we ask only to ZIP the folder "log" and not the entire "file" folder. If you do not have SSH access to your server you can access your server via an FTP client and browse to the folder:

/file/

From there download the folder:

/log/

Once the folder is on your computer you can right click and on most operating systems there should be an option to create a ZIP archive. Once a ZIP archive has been created feel free to submit the bug report and attach the ZIP and we can have all the details to help solve the problem.

[edit] General

[edit] Enabling Debug Mode

If you encounter problems on your site, enabling Debug Mode in many cases helps answer the question on what is causing a problem. By default all errors are suppressed so end-users do not see such errors. To enable Debug Mode this can be done either by enabling it from your AdminCP or accessing your web server. If you encounter a problem that does not cause a blank white screen you can enable debug mode from your AdminCP, however if your problem is due to a blank white screen you must enable debug mode by accessing your server and creating a PHP file.

[edit] Enabling from AdminCP

To enable debug mode from AdminCP, navigate to your AdminCP and go to...

Settings >> System Settings >> Manage Settings >> Debug

For the setting...

Debug Level

change the value from "Level 0" to any of the other levels.

[edit] Enabling from Your Server

To enable debug mode from your server you need to access your site via an FTP client or a hosting file manager. Once you have reached your sites root directory navigate to the folder...

include/setting/

Create a new file:

dev.sett.php

Open the file and add the following:

<?php
define('PHPFOX_DEBUG', true);
?>

Save and close the file.

[edit] Music Section

[edit] The "Musician" User Group Only Allowed Within Custom Fields

When you are adding custom fields you will notice you can only select the user group "Musician" from the "User Group" selection drop down. This is because the "Musician" user group is allowed to have custom fields, while other user groups by default do not have this option enabled. This feature can be enabled by editing the settings for each user group and enabling the option:

Can have special custom fields?

[edit] Video Section

[edit] Video remains "in process"

If when you upload certain videos these remain in process it is possible that the database connection is timing out. To confirm this case you need to make sure that the video is being converted properly (as that is the first step in the uploading routine). This problem should also happen with some longer videos. The actual setting on mysql is called wait_timeout, it is measured in seconds and it tells how long to wait before it kills a connection. The connection is open since the user opens up "this" page, for example if they log in, check their private messages and then they go to the video section a connection is established since they got to the video section, not since they logged in. The video upload routine uploads and converts the video while the database session is still active, so if the conversion takes 40 seconds and your wait_timeout is set to 30 you will have this problem. In phpmyadmin you can check the value for wait_timeout by going to Variables and scrolling all the way down.

If you have enough permissions you can change this value by executing: set @@global.wait_timeout=3000

In a linux default installation this value is set to 28800, but you should judge if this value is appropriate for your site as it may affect other features (it uses memory for longer time so accepting new connections may run your database server out of memory).

Please note that using persistent connections will not help in this case.

You should also change this value in the mysql ini file

Official mysql documentation on this value found here.



Copyright © Benc Enterprises AB, 2005-2010. All Rights Reserved.
Toll Free (US/Canada):