<? DEW-CODE.COM  





Lost Password?
No account yet? Register

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)

Dew-Code Newsfeed

Resources



Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Language + theme ? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Language + theme ?
#1046
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos abetinfo
Re:Language + theme ? 3 Years, 10 Months ago Karma: 0  
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
this line must be added so far i found out

the previews problem remains
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1047
Dewed (Admin)
Admin
Posts: 610
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Language + theme ? 3 Years, 10 Months ago Karma: 10  
Please see this FAQ entry , and I'm sorry, I should of pointed out the .htaccess file from your old version would of worked for the new version....
http://www.dew-code.com/content/view/14/25/


Since this was installed from Fantastico, you will need to access the admin panel and set the BASE URL, which is the web address to your website, and BASE PATH, which is teh directory you installed to, or leave it blank if its in your public_html directory..

Finally, select a language and theme, and save the settings.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1048
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos abetinfo
Re:Language + theme ? 3 Years, 10 Months ago Karma: 0  
The content of the .htaccess file looks like this :

Code:

#Set Error pages ErrorDocument 500 ./500.html ErrorDocument 404 ./500.html ###################################################################### # # Please note typically one of these variations will allow the # "directory" file to run as a PHP script. If you are getting #500 # or 404 errors, simply try the next directive by toggling the # commented lines. ###################################################################### <Files directory> # ForceType x-httpd-php ForceType application/x-httpd-php # SetHandler application/x-httpd-php # SetHandler application/x-httpd-php5 </Files> ###################################################################### # If you have installed this script in your web root directory you might consider using # the following mod-rewrite rules to make it appear as if you have an index.html file, # so the directory script will be served as your homepage (eg; when no filename is requested.) ###################################################################### ## add mod rewrite rules ## uncomment these 2 lines to use any of the following rewrite rules # RewriteEngine On # RewriteBase / ## make /directory/ act as index #RewriteRule ^$ /directory/ [L] #RewriteRule ^index\.(php|htm|html)$ /directory/ [R] #RewriteRule ^index\.....$ /directory/ [R] ###################################################################### # The following mod rewrite rule is really just a suggestion. It causes viewers to be directed # to http://www.yourdomain.com if they arrive at http://yourdomain.com (no WWW) # This helps to ensure anyone linking to your site does so consistantly. ###################################################################### ## Redirect non WWW to WWW replace "yourdomain" with ## your actual domain name #RewriteCond %{HTTP_HOST} ^yourdomain\.com #RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
I have access at the admin panel and have filled all those you mentioned above. But I get blanc page when I click on YOU PHPLINK from the admin panel to check the site. And this message is still there:
Code:

Warning: include(../include/lang/.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/links/admin/main.php on line 12 Warning: include(../include/lang/.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/links/admin/main.php on line 12 Warning: include() [function.include]: Failed opening '../include/lang/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/links/admin/main.php on line 12 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/links/admin/main.php:12) in /home/user/public_html/links/admin/main.php on line 14
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1049
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos abetinfo
Re:Language + theme ? 3 Years, 10 Months ago Karma: 0  
Ok, I have now fixed the problem with the message I was gettig at the admin site. I found the problem was a single letter and it would be nice if you Dew can change that for the rest of those who are downloading.

include("../include/common.php";
$language = $gl["Language"];
include("../include/lang/$language.php";
include("../include/session.php";session_start();


I have changed the letter L (as it was before) with a little l and added ;session_start(); on the 13th line instead of the 14th.



Im still having blanc page when I want to show the site (admin site works fine).
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1050
Dewed (Admin)
Admin
Posts: 610
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Language + theme ? 3 Years, 10 Months ago Karma: 10  
Just to check... when you manually installed
you edited include/config.php with your mysql info.
Then you uploaded it and browsed to the /docs directory, clicking the links to create the database tables and populate them.


Warning: include(../include/lang/.php)

2 things I notice here ...
first language isn't set,
2nd, ../include is incorrect.


If you use the admin panel, configuration page. Is the info still filled out? If this will be installed in the root directory of you site, BASE PATH should be blank, otherwise it should contain /directoryname where directoryname is the name of the directory you have installed to.

If that info is not sticking, there may be a problem with the settings table, possibly not fully created during installation.

If you have access to phpmyadmin , you could verify that the phplinks_settings table exists, and that it is getting populated. If not, the admin panel includes modules, one is called mysql query box. It will allow you to view the tables and browse their content.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1058
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos abetinfo
Re:Language + theme ? 3 Years, 10 Months ago Karma: 0  
Hi there.

QUOTE:
Just to check... when you manually installed
you edited include/config.php with your mysql info.
Then you uploaded it and browsed to the /docs directory, clicking the links to create the database tables and populate them.


I had the tables from the Fantastico installation so I just recreated them and it worked fine.

QUOTE:
Warning: include(../include/lang/.php)

2 things I notice here ...
first language isn't set,
2nd, ../include is incorrect.


This is how language config looks like at links/include/config.php

Code:

// ******************************************************************* // choose your language here. // If you are bilingual please consider translating the file // /include/lang/language.php and contributing it at // http://www.dew-code.com // ******************************************************************* $language = 'english';
QUOTE:
If you use the admin panel, configuration page. Is the info still filled out? If this will be installed in the root directory of you site, BASE PATH should be blank, otherwise it should contain /directoryname where directoryname is the name of the directory you have installed to.
The Base Path is blank. I tried to enter the path to just in case and it still dint show the site. well the site should appear at links.domain.com
QUOTE:
If you have access to phpmyadmin , you could verify that the phplinks_settings table exists, and that it is getting populated. If not, the admin panel includes modules, one is called mysql query box. It will allow you to view the tables and browse their content.
This table phplinks_settings does exists yes and to me seems to be fine. Conclusion : I belive something must be wrong either at .htaccess or index file !
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Freelance Jobs
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2013