| Kaan |
|
|---|---|
|
Parse error: syntax error, unexpected ',' in
$pagnav = sed_pagination('plug.php?m=details&id='.$urr['user_id'].'&ps='.$ps.''), $dp, $totalitems, $cfg['plugin']['userpages']['countonpage'], "dp", "ajaxSend", "url: "plug.php?r=userpages&id='.$urr['user_id']."&ps=".$ps."", divId: 'reloadp', errMsg: ".$L['plu_msg500']."";
Where is the problem.? |
| esclkm |
|
|---|---|
|
plug.php = users.php
"plug.php?r=userpages&id='.$urr['user_id']." ="plug.php?r=userpages&id=".$urr['user_id']." littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
| Kaan |
|
|---|---|
|
The problem continues
|
| GHengeveld |
|
|---|---|
|
By the looks of it the closing parenthesis is in the wrong place. Also, the number of arguments for sed_pagination is incorrect. The last one, 'object' should be a JSON object I think (not sure, but it looks that way). Try this:
$pagnav = sed_pagination(
'plug.php?m=details&id='.$urr['user_id'].'&ps='.$ps,
$dp,
$totalitems,
$cfg['plugin']['userpages']['countonpage'],
"dp",
'{
"ajaxSend",
"url": "plug.php?r=userpages&id='.$urr['user_id'].'&ps='.$ps.'",
"divId": "reloadp",
"errMsg": "'.$L['plu_msg500'].'"
}'
);
By the way, where did you find this code? |
| Kaan |
|
|---|---|
|
Thank you Koradhil
userpages plugins |