Jump to content

Admin Area Doesn't List Anything (See Images)


w3designstudios

Recommended Posts

All of my lists are blank. See below. It shows that I have records in the text, but doesn't actually show them. I am using PHP5, and I've got php.ini files in both the installation directory as well as the admin folder.

 

phpinfo shows that register_globals are on. Am I missing something?

 

1.gif

2.gif

3.gif

 

Any help would be great! Thanks.

Link to comment
Share on other sites

might want to put your php.ini file in the rest of the folders. register globals needs to be enabled. We are using the same set up that you are and works great for us. If you look at your php.info you will see it is using your root php.ini.

Link to comment
Share on other sites

might want to put your php.ini file in the rest of the folders. register globals needs to be enabled. We are using the same set up that you are and works great for us. If you look at your php.info you will see it is using your root php.ini.

 

See that's just it. In the Admin area when I click on the phpinfo link under utilities it shows the custom location of my Configuration File Path, in the Admin Folder. Did you place the custom script php.ini file in every single directory? That just seems like overkill for this, I mean if it works I'm all for it, I just wouldn't think you'd have to do that.

 

Any advice is much appreciated.

 

Thanks,

 

Russ

Link to comment
Share on other sites

Yes The script in reference that creates a duplicate of the server php.ini file with the needed changes is

 <?php 
// Put all the php.ini parameters you want to change below. One per line. 
// Follow the example format $parm[] = "parameter = value"; 
$parm[] = "register_globals = Off"; 
$parm[] = "session.use_trans_sid = 0"; 
// full unix path - location of the default php.ini file at your host 
// you can determine the location of the default file using phpinfo() 
$defaultPath = '/usr/local/lib/php.ini';  
// full unix path - location where you want your custom php.ini file 
$customPath = "/home/user/public_html/php.ini"; 
// nothing should change below this line. 
if (file_exists($defaultPath)) { 
 $contents = file_get_contents($defaultPath);  
 $contents .= "\n\n; USER MODIFIED PARAMETERS FOLLOW\n\n";   
 foreach ($parm as $value) $contents .= $value . " \n"; 
 $handle = fopen($customPath, 'w');  
 if (fwrite($handle, $contents)) {  
   fclose($handle); 
   if (chmod($customPath,0600)) $message = "The php.ini file has been modified and copied"; 
     else $message = "Processing error - php.ini chmod failed"; 
 } else { 
   $message = "Processing error - php.ini write failed"; 
 } 
} else { 
 $message = "Processing error - php.ini file not found"; 
} 
echo $message; 
?>  

 

It can also be found at http://tips-scripts.com/?tip=php_ini#tip

Link to comment
Share on other sites

Now not only is my backend messed up, but so is the front end. I have no clue what is going on here. Screenshot of the front end attached. In my title it is not pulling the company name that was entered in the Admin panel. It also isn't populating that information in the Admin panel.

 

4.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated