PDA

View Full Version : Problems with Beta script


bigarte
01-13-2007, 11:51 PM
I originally posted this in the Beta section but without the link to the vars file so I thought it might be better being here. Please move or delete if it is in the wrong section.

I have just tried installing the beta version and have struck a few problems:-
1. When using the image_fix file I get this error message:-

Parse error: syntax error, unexpected T_ELSE in /home/bigarte/public_html/freemovies/image_fix.php on line 24

2. When I try to access the admincp section I get the following error:-

Forbidden
You don't have permission to access /admincp on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

When I try to access the site I get these errors:-

Warning: fopen(cache/guests.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 13

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 14

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 14

Warning: fopen(cache/totalgames.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 18

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 19

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 19

Warning: fopen(cache/totalplays.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 23

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 24

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 24

Warning: fopen(cache/totalusers.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 28

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 29

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 29

Warning: fopen(cache/todaysplays.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 33

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 34

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/stats_cache.php on line 34

Warning: fopen(cache/mostplayedgames.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/top_games.php on line 20

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_games.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_games.php on line 22

Warning: fopen(cache/topusers.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/top_players.php on line 23

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_players.php on line 24

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_players.php on line 25

Warning: fopen(cache/mostplayedvids.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/top_movies.php on line 20

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_movies.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/top_movies.php on line 22

Warning: fopen(cache/latest_content.php): failed to open stream: Permission denied in /home/bigarte/public_html/freemovies/functions/latest_content.php on line 25

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/latest_content.php on line 26

Warning: fclose(): supplied argument is not a valid stream resource in /home/bigarte/public_html/freemovies/functions/latest_content.php on line 27

The template then opens up.

My URL to the beta installation is:- www.dragons.infextion.net/freemovies
and the link to the vars file is:- www.dragons.infextion.net/freemovies/vars.php

The free.zip works OK but the newcode.zip doesn't.

Look forward to hearing from you. :confused:

killerbud99
01-14-2007, 10:04 AM
Try and CHMOD your cache directory to 777 :D

bigarte
01-14-2007, 02:44 PM
Try and CHMOD your cache directory to 777 :D

Thanks but I already have my cache directory set to 777. Any other suggestions??? :confused:

blank
01-14-2007, 02:49 PM
do it to each of the individual files in that directory if there are files in it... I believe in the package I had the FILES in already.

also image_fix isn't used anymore by this system... that was more of a quick fix for the free version. I believe this codebase has a tool that fixes the images for you built in.

blank
01-14-2007, 02:52 PM
also it sounds like your admincp my have been pasword protected? I don't see a .htaccess in my file structure but if you have one in your /admincp delete it.

bigarte
01-14-2007, 03:05 PM
Thanks blank; that fixed most of the errors. I still can't access the admin control panel even though the error message has gone. I am using admin/admin. Is this incorrect?

blank
01-14-2007, 03:56 PM
you could edit the password field for that user in the DB using my MD5 tool here: http://arcade.networktechs.com/md5.php

bigarte
01-14-2007, 04:08 PM
you could edit the password field for that user in the DB using my MD5 tool here: http://arcade.networktechs.com/md5.php

Thanks blank but I found another way (and easier for me...lol). I created a new user and then went into PhpMyAdmin and edited that user to make them an Admin by changing their security level. Works a treat now.

Everything seems to be working now mate. Will keep testing it and report back. Thanks so much for your patience and help.

Bigarte.