Unstoppable Domains

PHp Msqls database error

Spaceship Spaceship
Watch
Impact
6
Guys

I have recently tried to re-establish a hosting site that went down when my last host mysteriously disappeared.

I have created the msql database, checked everything as a far as I can tell (heeding warning messages displayed when page wont load) but I just cant get the darn site to work. I'm sure its something pretty obvious to those in the know, but I have checked config.inc.php and db for accuracy (names, user names and password info etc) but all look fine. The warning is ....

Notice: Object of class stdClass could not be converted to int in /home/imagews/public_html/includes/config.inc.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/imagews/public_html/includes/config.inc.php:35) in /home/imagews/public_html/includes/config.inc.php on line 36


Any advice/help appreciated. :)

Thanks

LBM
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
you will need to show us what line 35 of config.inc.php is so we can have a look. It would be best to show us some before that line and some after as well (of course changing any username and passwords before posting the code)
 
0
•••
Thanks for your response Peter. I've sent you a PM. I've since got thes ite to loadbut with the folowing error

Notice: Object of class stdClass could not be converted to int in /home/imagews/public_html/includes/config.inc.php on line 35

Any ideas?

Cheers

I understand the script is php image host, but I cant access their forum at the moment as it is undergoing an upgrade

Although I still need to resolve the error message at thetop of the homepage:

Notice: Object of class stdClass could not be converted to int in /home/imagews/public_html/includes/config.inc.php on line 35


I tested out the function of joining as new member and also got an additional error, so something is clearly amiss. The error on this occasion is

Notice: Object of class stdClass could not be converted to int in /home/imagews/public_html/confirm.php on line 55

Notice: Object of class stdClass could not be converted to int in /home/imagews/public_html/confirm.php on line 57

Tearing my hair out here :)
 
0
•••
If there are any other members on the forum that have encountered isues with re-installations of the pHp image host script, could you kindly share your thoughts please? This may be a script issue, which Peter is looking at now, but as I haven't altered anything in the original script and it was working OK before transfer, it is likely attributable to some other issue, wich you may have encountered yourselves.

Thanks

LBM
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back