Search found 13 matches

by joinnavdev
Fri Mar 10, 2017 10:32 am
Forum: PHP Scripts
Topic: Appreciate help in redirection after custom dialog box button click......
Replies: 0
Views: 1011

Appreciate help in redirection after custom dialog box button click......

Hi All, Have 2 textfields to change the password after updating the password want to display below dialog box then should be redirected to logoutfinal page...but without dialog box page is getting redirected.....Appreciate the help in resolving the issue With alert its working but I want my own dial...
by joinnavdev
Fri Oct 21, 2016 11:52 am
Forum: PHP coding => General
Topic: Need Help....Trying to get property of non-object Error
Replies: 3
Views: 754

Re: Need Help....Trying to get property of non-object Error

Hi, By doing below things I could find admin value...... $user = User::model()->findByPk(Yii::app()->user->id); echo $user['isAdmin'];........o/p:1 if($user['isAdmin'] == '1') I am getting below error Error 500 Trying to get property of non-object...... Any help would be appreciated...... Thanks, Nick
by joinnavdev
Fri Oct 21, 2016 8:20 am
Forum: PHP coding => General
Topic: Need Help....Trying to get property of non-object Error
Replies: 3
Views: 754

Re: Need Help....Trying to get property of non-object Error

Hi,

First of all thx for help in resolving my issue......I did tried as per your reply but getting below error.....

Argument 1 passed to ButtonColumn::__construct() must be an instance of WebUser, instance of GridView given

Not sure how to handle it......Appreciate any new suggestion.

Thanks,
Nick
by joinnavdev
Thu Oct 20, 2016 3:51 pm
Forum: PHP coding => General
Topic: Need Help....Trying to get property of non-object Error
Replies: 3
Views: 754

Need Help....Trying to get property of non-object Error

Hi, I am trying to call getIsAdmin function from another class but getting "Error 500-Trying to get property of non-object"...I am new to PHP so not aware how to resolve.. I tried to check var_dump also, it's showing "boolean false" Really looking forward for the help... class WebUser { public funct...
by joinnavdev
Thu Oct 20, 2016 9:08 am
Forum: JavaScript
Topic: Need help....Changing text color in every refresh
Replies: 2
Views: 3329

Re: Need help....Changing text color in every refresh

Hi,

Thanks for your help.

Issue got resolved....

Thanks,
Nick
by joinnavdev
Wed Oct 19, 2016 12:33 pm
Forum: JavaScript
Topic: Need help....Changing text color in every refresh
Replies: 2
Views: 3329

Need help....Changing text color in every refresh

Hi All, Appreciate help in resolving the below issues..... With every refresh I wanted to change the text color in marquee tag by calling javascript function...... I am getting color code like #18EEC5 ......but when calling script function from marquee tag nothing is happening...... <html> <head> <s...
by joinnavdev
Wed Oct 19, 2016 12:13 pm
Forum: CSS
Topic: Appreciate hep....text color should change with every refresh
Replies: 1
Views: 1663

Appreciate hep....text color should change with every refresh

Hi All, Appreciate help in resolving the below issues..... With every refresh I wanted to change the text color in marquee tag by calling javascript function...... I am getting color code like #18EEC5 ......but when calling script function from marquee tag nothing is happening...... <html> <head> <s...
by joinnavdev
Mon Oct 03, 2016 5:30 pm
Forum: JavaScript
Topic: Regd.updation of field into database.....Need help
Replies: 0
Views: 913

Regd.updation of field into database.....Need help

Hi All, Appreciate help with the below issue......I am trying to display the employee details & giving option to update the records also, everything is working fine but Joining Date display/changes are fine but records are not getting updated. Please find the code below........ <form id="personal_in...
by joinnavdev
Tue Sep 27, 2016 9:00 am
Forum: PHP coding => General
Topic: Array to String conversion..Need Help
Replies: 0
Views: 725

Array to String conversion..Need Help

Hi All, I am new to php & got struck with below notice/warning i.e. array to string conversion. Please find the below code, any help or suggestion in resolving the notice/warning would be great help........ I knew we can suppress the warning but want a solution the below notice/warning... ::::::CODE...
by joinnavdev
Wed Jul 01, 2015 6:37 am
Forum: PHP coding => General
Topic: How to get Router IP?
Replies: 0
Views: 570

How to get Router IP?

Hi All, Looking for help in resolving the below issue....... Through router(static ip) we are forwarding the request to internal system which is in LAN & the issue is how to get the static ip as when we try $_SERVER['SERVER_ADDR']; we get LAN IP(192.***.***.***) as output & not static ip? Thanks, Nick
by joinnavdev
Mon Feb 09, 2015 6:02 am
Forum: PHP coding => General
Topic: Warning: Illegal string offset
Replies: 4
Views: 920

Re: Warning: Illegal string offset

Hi,

Yes you are right, there was issue with that column.

While importing the database full database didn't get imported so it was causing the issue.

Thanks for your inputs because of which I was able to resolve it.

Thanks,
Nick
by joinnavdev
Fri Feb 06, 2015 1:10 pm
Forum: PHP coding => General
Topic: Warning: Illegal string offset
Replies: 4
Views: 920

Re: Warning: Illegal string offset

Hi, Thanks for looking into the post & responding back. In older php version it's working fine...both admin/user level.... I checked var_dump($result1) please find the output below.. array (size=3) 0 => string 'Unknown column 'b.id_2' in 'where clause'' (length=41) 1 => string 'select features_name,...
by joinnavdev
Thu Feb 05, 2015 12:32 pm
Forum: PHP coding => General
Topic: Warning: Illegal string offset
Replies: 4
Views: 920

Warning: Illegal string offset

Actually I am moving the HRMS application from older to latest version of PHP but I am getting the below warnings. Appreciate help or any suggestions to resolve the issue...... foreach($result1 as $resultset1) { $stringData3="<li><a href=\"##LBL_SITE_URL##index.php/".$resultset['module_value']."/".$...