Moved to new host and getting some errors

Support for IntegraMOD 141

Moderator: Integra Moderator

Moved to new host and getting some errors

PostAuthor: chopper » Fri Jul 04, 2008 2:59 am

I just changed hosts. When selecting ststistics I get the following errors
xxxxxx replaces original username

Warning: fopen(./modules/cache/templates/fisubice/content_values.tpl.php) [function.fopen]]/home/xxxxxx/public_html/stats_mod/includes/template.php[/b] on line 752

Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxxxx/public_html/stats_mod/includes/template.php on line 753

Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxx/public_html/stats_mod/includes/template.php on line 754

Warning: touch() [function.touch]]756[/b]

these are the lines 752 thru 757
Code: Select all
        $fp = fopen($filename, 'w+');         fwrite ($fp, $data);         fclose($fp);           touch($filename, filemtime($this->files[$handle]));         @chmod($filename, 0644);  


and I looked at the phpinfo and these show to be disabled]disable_functions[/b] show_source, system, passthru, popen, proc_open, dl, system, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_six_setuid, passthru, proc_terminate, ocilogon, mssql_connect, ini_get_all,
Last edited by chopper on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://chopncrop.com/forum_images/album/albums/userpics/10002/banner.jpg[/img][/url]
[url=http]Homestead Country[/url]
User avatar
chopper
Members
Members
 
Posts: 39
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 23, 2008 9:53 am
Cash on hand: 0.00

PostAuthor: dan0042 » Sat Jul 05, 2008 5:51 am

check that your files are chmodded
Last edited by dan0042 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 21, 2006 4:06 pm
Cash on hand: 0.00

Re: Moved to new host and getting some errors

PostAuthor: Helter » Sat Jul 05, 2008 9:59 am

check your config.php to be sure the correct version of mysql is chosen and empty your cache folder of all but index.html and htaccess
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Moved to new host and getting some errors

PostAuthor: chopper » Sun Jul 06, 2008 11:38 am

None of these worked.
I changed permissions in
/public_html/modules/cache/templates/xxxxx/
to
766 and that works. will this be a security problem?
Last edited by chopper on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://chopncrop.com/forum_images/album/albums/userpics/10002/banner.jpg[/img][/url]
[url=http]Homestead Country[/url]
User avatar
chopper
Members
Members
 
Posts: 39
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 23, 2008 9:53 am
Cash on hand: 0.00

Re: Moved to new host and getting some errors

PostAuthor: DjPorkchop » Sun Jul 06, 2008 2:47 pm

Im not sure if this is relavent or not in this case but I had the same identical errors once before and it was due to php safe mode being enabled on the server even if the chmods were correct I still got the error. <img>
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]