Author Topic: Installation problem  (Read 876 times)

0 Members and 1 Guest are viewing this topic.

Offline aztur

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Installation problem
« on: February 10, 2010, 08:57:35 PM »
Hello im a new user  and i wanted to install  PHPDirect but it makes some errors.

• Version Number: 0.30
• PHP & MySql Version: mysql 5.1.36 // PHP 5.3.0
• Mods Installed: none

Here is a screenshot :


Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Installation problem
« Reply #1 on: February 10, 2010, 09:33:56 PM »
I suppose it wont let you move on to the next step? But if it does what happens?

Offline aztur

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Installation problem
« Reply #2 on: February 10, 2010, 10:52:53 PM »
nothing happens the button cant be pushed

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Installation problem
« Reply #3 on: February 10, 2010, 11:09:05 PM »
Can you try something for me?

Find this in install/header.php:
Code: [Select]
<ul>
<li>
<a href="#">Upgrade/Install</a>
</li>
<li <?php if ($_POST["Installing"] == "License"){echo "class='selected'";}?>>
<a href="#">License Agreement</a>
</li>
<li <?php if ($_POST["Installing"] == "Connections"){echo "class='selected'";}?><?php if ($_GET["connect"] == "connect"){echo "class='selected'";}?>>
<a href="#">MySQL Connection</a>
</li>
<li <?php if ($_POST["Installing"] == "Connections2"){echo "class='selected'";}?>>
<a href="#">Create Tables</a>
</li>
<li <?php if ($_POST["Installing"] == "Options"){echo "class='selected'";}?>>
<a href="#">Options</a>
</li>
</ul>

And replace it with:
Code: [Select]
<ul>
<li>
<a href="#">Upgrade/Install</a>
</li>
<li>
<a href="#">License Agreement</a>
</li>
<li>
<a href="#">MySQL Connection</a>
</li>
<li>
<a href="#">Create Tables</a>
</li>
<li>
<a href="#">Options</a>
</li>
</ul>

See if that works.

Offline aztur

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Installation problem
« Reply #4 on: February 10, 2010, 11:18:43 PM »
Works great !

Thank you ,    but i want to know what was wrong  plz  if you dont mind
« Last Edit: February 10, 2010, 11:21:43 PM by aztur »

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Installation problem
« Reply #5 on: February 10, 2010, 11:29:11 PM »
I guess the php was being read wrong.

The reason you had a problem thought was it was installed on WAMP, and WAMP shows all errors. Most servers online don't show "all" the errors and it still works with them running.

Offline alibaba

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Installation problem
« Reply #6 on: May 27, 2010, 04:31:37 PM »
Hello
 I installed phpdirector for the first Time
i finished all steps succefuly
(But When I try To log in as admin is an error loding page "Notice:: Fatal error: Smarty error: unable to write to $compile_dir '/usr/home/abc11111/domains/abc.com/public_html/V-i-d-e-o/templates_c/admin'. Be sure $compile_dir is writable by the web server user. in /usr/home/abc11111/domains/abc.com/public_html/V-i-d-e-o/libs/Smarty.class.php on line 1095)
     1091               * @param integer $error_type
     1092               */
     1093              function trigger_error($error_msg, $error_type = E_USER_WARNING)
     1094             {
     1095          trigger_error("Smarty error: $error_msg", $error_type);
     1096         }
     1097
     1098
     1099            /**

I've checked the database in mysql, there are 8 folders in there,
* pp_categories
* pp_comment
* pp_config
* pp_fav
* pp_files
* pp_messages
* pp_rating
* pp_user
Per:
mydomain.com/video/:        777
install/                        :      777
templates_c/              :      777
/config.php                 :    777
/includes/function.inc.php: 777
/installed.php                  :777
admin                         : 755
avatar                           :755
includes                         :755
js                                   :755
lang                                :755
libs                                :755
  processes                    :755
templates                       :755
turn_off_lights                 :755
Was I doing anything wrong?

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Installation problem
« Reply #7 on: May 27, 2010, 07:00:58 PM »
1) Your our sure /templates_c/ is set to 777?
2) Is there a folder named /admin/ in /templates_c/
3) If all the above is correct delete everything in:
/templates_c/
/templates_c/admin/

leave the folder /admin/ in /templates_c/.