Error
Database query error
Query:
SELECT ProfileMemLevels.IDLevel as ID,
MemLevels.Name as Name,
UNIX_TIMESTAMP(ProfileMemLevels.DateStarts) as DateStarts,
UNIX_TIMESTAMP(ProfileMemLevels.DateExpires) as DateExpires
FROM ProfileMemLevels
RIGHT JOIN Profiles
ON ProfileMemLevels.IDMember = Profiles.ID
AND (ProfileMemLevels.DateStarts IS NULL
OR UNIX_TIMESTAMP(ProfileMemLevels.DateStarts) <= 1337319508)
AND (ProfileMemLevels.DateExpires IS NULL
OR UNIX_TIMESTAMP(ProfileMemLevels.DateExpires) > 1337319508)
LEFT JOIN MemLevels
ON ProfileMemLevels.IDLevel = MemLevels.ID
WHERE Profiles.ID = 0
ORDER BY ProfileMemLevels.DateStarts DESC
LIMIT 0, 1
Mysql error: Table './db1129477@002dscooterv2/Profiles' is marked as crashed and last (automatic?) repair failed
Found error in file
/is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/membership_levels.inc.php
at line
187 . Called
db_res function
with erroneous argument #
0
Debug backtrace: Array
(
[1] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/membership_levels.inc.php
[line] => 187
[function] => db_res
[args] => Array
(
[0] =>
SELECT ProfileMemLevels.IDLevel as ID,
MemLevels.Name as Name,
UNIX_TIMESTAMP(ProfileMemLevels.DateStarts) as DateStarts,
UNIX_TIMESTAMP(ProfileMemLevels.DateExpires) as DateExpires
FROM ProfileMemLevels
RIGHT JOIN Profiles
ON ProfileMemLevels.IDMember = Profiles.ID
AND (ProfileMemLevels.DateStarts IS NULL
OR UNIX_TIMESTAMP(ProfileMemLevels.DateStarts) <= 1337319508)
AND (ProfileMemLevels.DateExpires IS NULL
OR UNIX_TIMESTAMP(ProfileMemLevels.DateExpires) > 1337319508)
LEFT JOIN MemLevels
ON ProfileMemLevels.IDLevel = MemLevels.ID
WHERE Profiles.ID = 0
ORDER BY ProfileMemLevels.DateStarts DESC
LIMIT 0, 1
)
)
[2] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/membership_levels.inc.php
[line] => 266
[function] => getMemberMembershipInfo_current
[args] => Array
(
[0] => 0
[1] => 1337319508
)
)
[3] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/membership_levels.inc.php
[line] => 409
[function] => getMemberMembershipInfo
[args] => Array
(
[0] => 0
)
)
[4] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/classes/BxDolBlogs.php
[line] => 176
[function] => checkAction
[args] => Array
(
[0] => 0
[1] => 20
)
)
[5] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/inc/classes/BxDolBlogs.php
[line] => 1190
[function] => CheckRestrictionToView
[class] => BxDolBlogs
[type] => ->
[object] => BxDolBlogs Object
(
[iIconSize] => 45
[iThumbSize] => 110
[iBigThumbSize] => 340
[iImgSize] => 800
[bAdminMode] =>
[sPicNotAvail] =>
[sSpacerPath] => templates/base/images/icons/spacer.gif
[aBlogConf] => Array
(
[visitorID] => 0
[ownerID] => 0
[isOwner] => 1
[loggedMember] =>
[categoryCaptionMaxLenght] => 150
[blogCaptionMaxLenght] => 150
)
[iLastPostedPostID] => -1
[iPerPageElements] => 10
[sCommonCSS] =>
[iTopTagsCnt] => 20
[oCmtsView] =>
[_isPermalinkEnabled] => 1
)
[args] => Array
(
[0] => 0
)
)
[6] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/blogs.php
[line] => 71
[function] => GenPostPage
[class] => BxDolBlogs
[type] => ->
[object] => BxDolBlogs Object
(
[iIconSize] => 45
[iThumbSize] => 110
[iBigThumbSize] => 340
[iImgSize] => 800
[bAdminMode] =>
[sPicNotAvail] =>
[sSpacerPath] => templates/base/images/icons/spacer.gif
[aBlogConf] => Array
(
[visitorID] => 0
[ownerID] => 0
[isOwner] => 1
[loggedMember] =>
[categoryCaptionMaxLenght] => 150
[blogCaptionMaxLenght] => 150
)
[iLastPostedPostID] => -1
[iPerPageElements] => 10
[sCommonCSS] =>
[iTopTagsCnt] => 20
[oCmtsView] =>
[_isPermalinkEnabled] => 1
)
[args] => Array
(
)
)
[7] => Array
(
[file] => /is/htdocs/wp1129477_VV1CGJ1O8C/www/scooterv/blogs.php
[line] => 42
[function] => PageCompBlogs
[args] => Array
(
)
)
)
Called script: /scooterv/blogs.php
Request parameters: Array
(
[action] => show_member_post
[postUri] => louis-vuitton-outlet-to-make-
)