Database query error URGENT HELP NEEDED!!!

I can't reach my agent, so can you please tell me why polls and media stops working after a cpanel restore.

Need urgent help! Please answer asap.

Thank you in advance.

Peter.

My website url: pinartonline.com

I get database error

Warning: Invalid argument supplied for foreach() in /home/randevu/public_html/inc/classes/BxDolDb.php on line 372
Error
Database query error

here's the code, but it doesnt make much sense


$aFoundError = array();

foreach( $aBackTrace as $aCall )
{
foreach( $aCall['args'] as $argNum => $argVal )
{
if( is_string($argVal) and strcmp( $argVal, $query ) == 0 )
{
$aFoundError['file']     = $aCall['file'];
$aFoundError['line']     = $aCall['line'];
$aFoundError['function'] = $aCall['function'];
$aFoundError['arg']      = $argNum;

Quote · 24 Jan 2010

from the d7 default package inc/classes/BxDolDb.php

re-upload that file BxDolDb.php

see if that helps

Quote · 24 Jan 2010

already tried it :/

didn't work...

Quote · 24 Jan 2010

you said something about cpanel restore what exactly did you do

Quote · 24 Jan 2010

I migrated from one to another hosting provider.


We were unable to get the service we needed with the old one, so we tranfered to another one. This website should be fixed asap cause it's a part of a big happening which will take place today. It's the official community inspired by and dedicated to Tose Proeski (you should know who I am talking about) so it will be aired like official social network for all his fans today.

Quote · 24 Jan 2010

did you make the paths changes to the header.inc.php

Quote · 24 Jan 2010

did that... still nothing... :(

Quote · 24 Jan 2010

i just looked at your site and it works just fine

Quote · 24 Jan 2010

NOPE, avatars, sound files, polls... all media missing

Quote · 24 Jan 2010

this might be a stupid question but did you download all your files/folders  from your old site and re/uploaded to the new server

Quote · 24 Jan 2010

no, restored a cpanel backup

Quote · 24 Jan 2010

no, restored a cpanel backup

well just restoring the database itself won't do it

let's say im moving site 1 to another server

first backup db
download your entire site all folders/files

upload all downloaded files/folders to the new server
restore database

if you didn't transfer files/media don't expect it to be there

Quote · 24 Jan 2010

I just looked through some things and there would appear to be an issue with the way directories are being handled (video pages being served as profiles). This can happen when the permissions are set-up improperly on some servers. Try going through the permission steps outlined in this document (there are two sections, the initial, then the final change outlined at the end): http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70 - or, this can be the reverse, and you must ensure all files are set to 644 and all folders are set to 755, with ffmpeg.exe being set to 777.

This may not necessarily relate to the issue of missing avatars and media, but it still plays a role here.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Jan 2010

the media files are there, just aint showing up

Quote · 24 Jan 2010

the media files are there, just aint showing up

Have you tried what I suggested?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Jan 2010

Yes, it didn't work... :(((((((


ive tried changing permissions already just like the detailed instructions
no good

Quote · 24 Jan 2010

it seems all links go to profile not found

Quote · 24 Jan 2010

Check .htaccess file, if code is as the one I have posted below will all module links have "Profile not available for view" as a page result except profile view page, upload a new .htaccess file and see about it ok then

.htaccess code:

Options -MultiViews

<IfModule mod_php4.c>
php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
php_flag allow_url_include Off
php_flag register_globals Off
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on


RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]

</IfModule>

AddType application/vnd.adobe.air-application-installer-package+zip .air
AddType application/x-shockwave-flash .swf

Quote · 24 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.